Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59338 Details for
Bug 93276
fallback interface configuration does not support a different default gateway.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch just fix that for rc-scripts-1.4.16 (baselayout-1.9.4-r6)
rc-scripts-1.4.16-fallback-gateway.patch (text/plain), 873 bytes, created by
Kristian Benoit
on 2005-05-19 18:12:00 UTC
(
hide
)
Description:
This patch just fix that for rc-scripts-1.4.16 (baselayout-1.9.4-r6)
Filename:
MIME Type:
Creator:
Kristian Benoit
Created:
2005-05-19 18:12:00 UTC
Size:
873 bytes
patch
obsolete
>diff -uNrp rc-scripts-1.4.16.orig/init.d/net.eth0 rc-scripts-1.4.16/init.d/net.eth0 >--- rc-scripts-1.4.16.orig/init.d/net.eth0 2004-05-10 10:16:35.000000000 -0400 >+++ rc-scripts-1.4.16/init.d/net.eth0 2005-05-19 20:36:41.763059408 -0400 >@@ -117,6 +117,7 @@ iface_start() { > elif [[ -n "${ifconfig_fallback_IFACE}" ]]; then > # DHCP failed, try fallback. > # Show the address, but catch if this interface will be inet6 only >+ fallback="fallback_" > i=${ifconfig_fallback_IFACE%% *} > if [[ ${i} == *.*.*.* ]]; then > ebegin "Using fallback configuration (${i}) for ${IFACE}" >@@ -161,6 +162,7 @@ iface_start() { > fi > > # Set default route if applicable to this interface >+ eval gateway=\"\$\{${fallback}gateway\}\" > if [[ ${gateway} == ${IFACE}/* ]]; then > local ogw=$(/bin/netstat -rn | awk '$1 == "0.0.0.0" {print $2}') > local gw=${gateway#*/}
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 93276
: 59338