Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 852483 Details for
Bug 1055181
dhclient-script removes routes if DHCP router is unreachable (Google Compute Engine)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Remove ping checking
dhclient-script.patch (text/plain), 961 bytes, created by
Vaidas Jablonskis
on 2014-01-19 21:01:02 UTC
(
hide
)
Description:
Remove ping checking
Filename:
MIME Type:
Creator:
Vaidas Jablonskis
Created:
2014-01-19 21:01:02 UTC
Size:
961 bytes
patch
obsolete
> dhclient-script | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > >diff --git a/dhclient-script b/dhclient-script >index ac2b7ac..be4d5f1 100644 >--- a/dhclient-script >+++ b/dhclient-script >@@ -273,15 +273,7 @@ is_router_reachable() { > if [ ! "${routersubnet}" = "${mysubnet}" ]; then > ip -4 route add ${router}/32 dev ${interface} > if [ $? -eq 0 ]; then >- if ping -q -c1 -w2 -I ${interface} ${router}; then >- return 0 >- else >- logmessage "DHCP router ${router} is unreachable on DHCP subnet ${mysubnet} router subnet ${routersubnet}" >- ip route del ${router}/32 dev ${interface} >- return 1 >- fi >- else >- logmessage "failed to create host router for unreachable router ${router} not on subnet ${mysubnet}" >+ logmessage "failed to create host route for ${router}" > return 1 > fi > fi >
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 1055181
: 852483