Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332338 Details for
Bug 447310
sys-apps/openrc - Fix family selection of routes_<dev> in /etc/init.d/net.lo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the address family selection in net.lo.
address_family_selection.patch (text/plain), 855 bytes, created by
Mihai Moldovan
on 2012-12-15 03:55:24 UTC
(
hide
)
Description:
Patch to fix the address family selection in net.lo.
Filename:
MIME Type:
Creator:
Mihai Moldovan
Created:
2012-12-15 03:55:24 UTC
Size:
855 bytes
patch
obsolete
>--- /etc/init.d/net.lo.orig 2012-12-15 02:58:27.491527708 +0100 >+++ /etc/init.d/net.lo 2012-12-15 04:17:32.123071386 +0100 >@@ -650,12 +650,19 @@ > > local OIFS="${IFS}" SIFS="${IFS-y}" > local IFS="$__IFS" >+ local fam="" > for cmd in ${routes}; do > unset IFS > if ${first}; then > first=false > einfo "Adding routes" > fi >+ >+ case ${cmd} in >+ -6" "*) fam="-6"; cmd=${cmd#-6 };; >+ -4" "*) fam="-4"; cmd=${cmd#-4 };; >+ esac >+ > eindent > ebegin ${cmd} > # Work out if we're a host or a net if not told >@@ -668,10 +675,10 @@ > *) cmd="-host ${cmd}";; > esac > if ${hidefirstroute}; then >- _add_route ${cmd} >/dev/null 2>&1 >+ _add_route ${fam} ${cmd} >/dev/null 2>&1 > hidefirstroute=false > else >- _add_route ${cmd} >/dev/null >+ _add_route ${fam} ${cmd} >/dev/null > fi > eend $? > eoutdent
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 447310
: 332338