Wired connections acting as bonding slave will have their ip4 config disabled. Allow such connections to reassume devices.
Signed-off-by: Thomas Graf <[email protected]> --- src/nm-device-wired.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/nm-device-wired.c b/src/nm-device-wired.c index 967216d..918a277 100644 --- a/src/nm-device-wired.c +++ b/src/nm-device-wired.c @@ -391,6 +391,11 @@ ip4_match_config (NMDevice *self, NMConnection *connection) g_slist_free (leases); } + if (!strcmp (method, NM_SETTING_IP4_CONFIG_METHOD_DISABLED)) { + // FIXME: Enforce no ipv4 addresses? + return TRUE; + } + /* 'shared' and 'link-local' aren't supported methods because 'shared' * requires too much iptables and dnsmasq state to be reclaimed, and * avahi-autoipd isn't smart enough to allow the link-local address to be -- 1.7.7.3 _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
