Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
dracut.6321
0328-40network-fix-IFS-separater-in-net-lib.sh....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0328-40network-fix-IFS-separater-in-net-lib.sh.patch of Package dracut.6321
From 95077c55b9fc085efd1e2b87e0f5ceaacec1f9b5 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <dmolkentin@suse.com> Date: Mon, 29 May 2017 12:15:37 +0200 Subject: [PATCH] 40network: fix IFS separater in net-lib.sh Reference: osc#996141 --- modules.d/40network/net-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh index a1fd823c..b40d5eb3 100755 --- a/modules.d/40network/net-lib.sh +++ b/modules.d/40network/net-lib.sh @@ -14,7 +14,7 @@ mask_to_prefix() { local prefix=0 local OLDIFS="$IFS" - IFS=: + IFS=. set -- $mask IFS="$OLDIFS" for mask in $@ ; do @@ -36,6 +36,7 @@ mask_to_prefix() { prefix=$(($prefix + 1)) fi done + echo $prefix } iface_for_remote_addr() { -- 2.12.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor