summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-12-14 09:36:31 +0000
committerRoy Marples <uberlord@gentoo.org>2006-12-14 09:36:31 +0000
commit7c62365e88643c96875d45abb438cfc362bbe571 (patch)
tree974a617e9771e1b9e9bf85678e226b1ec940fab0 /sys-apps
parentFix broken Manifest. (diff)
downloadgentoo-2-7c62365e88643c96875d45abb438cfc362bbe571.tar.gz
gentoo-2-7c62365e88643c96875d45abb438cfc362bbe571.tar.bz2
gentoo-2-7c62365e88643c96875d45abb438cfc362bbe571.zip
Refresh ifconfig patch to see if fixes
(Portage version: 2.1.2_rc3-r4)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch b/sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch
index edbbc584d278..325585e08fe7 100644
--- a/sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch
+++ b/sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch
@@ -1,4 +1,4 @@
---- lib/rcscripts/net/ifconfig.sh (revision 2415)
+--- lib/rsccripts/net/ifconfig.sh (revision 2420)
+++ lib/rcscripts/net/ifconfig.sh (working copy)
@@ -364,7 +364,7 @@
x="-net ${x}"
@@ -9,3 +9,12 @@
x="-net ${x}"
else
# Given the lack of a netmask, we assume a host
+@@ -434,7 +434,7 @@
+ interface_up "${real_iface}"
+
+ # Some kernels like to apply lo with an address when they are brought up
+- if [[ ${config[@]} == "127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255" ]]; then
++ if [[ ${config[@]} == "127.0.0.1/8 brd 127.255.255.255" ]]; then
+ is_loopback "${iface}" && ifconfig "${iface}" 0.0.0.0
+ fi
+