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 303233 Details for
Bug 437338
NM defaults to the wrong device
[?]
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]
[PATCH] don't use route and DNS for device that has no default gateway configuration
NetworkManager-0.7.0.svn3581-dont-use-null-defaultgw.patch (text/plain), 820 bytes, created by
Charles R. Anderson
on 2008-04-21 23:37:22 UTC
(
hide
)
Description:
[PATCH] don't use route and DNS for device that has no default gateway configuration
Filename:
MIME Type:
Creator:
Charles R. Anderson
Created:
2008-04-21 23:37:22 UTC
Size:
820 bytes
patch
obsolete
>Index: src/NetworkManagerPolicy.c >=================================================================== >--- src/NetworkManagerPolicy.c (revision 3581) >+++ src/NetworkManagerPolicy.c (working copy) >@@ -141,6 +141,13 @@ > s_ip4 = (NMSettingIP4Config *) nm_connection_get_setting (connection, NM_TYPE_SETTING_IP4_CONFIG); > if (s_ip4 && !strcmp (s_ip4->method, NM_SETTING_IP4_CONFIG_METHOD_AUTOIP)) > continue; >+ /* Never set the default route through a device that doesn't have a default gateway */ >+ if (s_ip4 && s_ip4->addresses) { >+ /* FIXME; add support for more than one set of address/netmask/gateway for NMIP4Config */ >+ NMSettingIP4Address *addr = (NMSettingIP4Address *) s_ip4->addresses->data; >+ if (!addr->gateway) >+ continue; >+ } > > prio = get_device_priority (dev); > if (prio > best_prio) {
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 437338
:
297958
| 303233 |
309585