mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-23 09:20:29 +01:00
wired: allow devices to be reassumed when ip4 config is disabled
Wired connections acting as bonding slave will have their ip4 config disabled. Allow such connections to reassume devices. Signed-off-by: Thomas Graf <tgraf@redhat.com>
This commit is contained in:
parent
40164fbc1f
commit
200a7e142a
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue