Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 127151
Collapse All | Expand All

(-)rc-scripts-1.6.14.orig/lib/rcscripts/net.modules.d/helpers.d/dhclient-udhcpc-wrapper (+14 lines)
Lines 43-48 Link Here
43
43
44
export module=dhclient
44
export module=dhclient
45
45
46
if [[ ${new_unknown_121} ]]; then
47
    s="${new_unknown_121}:"
48
    cidrroute=""
49
    while true; do
50
        b=${s%%:*}
51
        [[ -z ${b} ]] && break
52
        s=${s#*:}
53
        let b="0x${b}"
54
        cidrroute="${cidrroute} ${b}"
55
    done
56
    cidrroute=${cidrroute# }
57
    export cidrroute
58
fi
59
46
# Execute the dhclient script and exit with it's code
60
# Execute the dhclient script and exit with it's code
47
/lib/rcscripts/net.modules.d/helpers.d/udhcpc-${iface_type} ${action}
61
/lib/rcscripts/net.modules.d/helpers.d/udhcpc-${iface_type} ${action}
48
result="$?"
62
result="$?"

Return to bug 127151