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 912132 Details for
Bug 1109949
dhclient-script does not handle option 121 properly
[?]
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]
dhclient-script patch
rhbz1109949.patch (text/plain), 1.02 KB, created by
Jiri Popelka
on 2014-06-25 14:23:25 UTC
(
hide
)
Description:
dhclient-script patch
Filename:
MIME Type:
Creator:
Jiri Popelka
Created:
2014-06-25 14:23:25 UTC
Size:
1.02 KB
patch
obsolete
>--- dhclient-script.rhel7 2014-06-16 19:24:15.000000000 +0200 >+++ dhclient-script 2014-06-25 16:21:06.693916536 +0200 >@@ -274,17 +274,9 @@ is_router_reachable() { > mysubnet="$(get_network_address ${new_ip_address} ${new_subnet_mask})" > > 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}" >+ ip -4 route replace ${router}/32 dev ${interface} >+ if [ "$?" -ne 0 ]; then >+ 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 1109949
: 912132