mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 19:30:40 +02:00
core: expose NMIPAddress instances with prefix zero on D-Bus
Since commit 44768f0311, we skip
exposing NMIPAddress instances with prefix zero. Now, that is
supported and we can remove the check.
This commit is contained in:
parent
6b8729a599
commit
420bd611fd
2 changed files with 0 additions and 8 deletions
|
|
@ -567,10 +567,6 @@ nm_ip4_config_create_setting (const NMIP4Config *config)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* FIXME: NMIPAddress doesn't support zero prefixes. */
|
||||
if (address->plen == 0)
|
||||
continue;
|
||||
|
||||
/* Static address found. */
|
||||
if (!method)
|
||||
method = NM_SETTING_IP4_CONFIG_METHOD_MANUAL;
|
||||
|
|
|
|||
|
|
@ -556,10 +556,6 @@ nm_ip6_config_create_setting (const NMIP6Config *config)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* FIXME: NMIPAddress does not support zero prefixes. */
|
||||
if (address->plen == 0)
|
||||
continue;
|
||||
|
||||
/* Static address found. */
|
||||
if (!method || strcmp (method, NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL) == 0)
|
||||
method = NM_SETTING_IP6_CONFIG_METHOD_MANUAL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue