diff options
Diffstat (limited to 'sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch')
-rw-r--r-- | sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch | 11 |
1 files changed, 11 insertions, 0 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 new file mode 100644 index 000000000000..edbbc584d278 --- /dev/null +++ b/sys-apps/baselayout/files/baselayout-1.12.7-ifconfig.patch @@ -0,0 +1,11 @@ +--- lib/rcscripts/net/ifconfig.sh (revision 2415) ++++ lib/rcscripts/net/ifconfig.sh (working copy) +@@ -364,7 +364,7 @@ + x="-net ${x}" + elif [[ ${y} == *.*.*.*/32 ]] ; then + x="-host ${x}" +- elif [[ ${y} == *.*.*.*/* ]] ; then ++ elif [[ ${y} == *.*.*.*/* || ${y} == "default" || ${y} == "0.0.0.0" ]] ; then + x="-net ${x}" + else + # Given the lack of a netmask, we assume a host |