diff options
author | Thomas Haller <thaller@redhat.com> | 2016-04-11 12:49:47 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-04-11 12:49:48 +0200 |
commit | 420bd611fdbf78a33f5dcb9697238527b87c77d4 (patch) | |
tree | f77c233f480e47a5a9989c99cf9ae67fc64beeff /src/nm-ip6-config.c | |
parent | 6b8729a5996deec34b38a13007b48250b64ba385 (diff) | |
download | NetworkManager-420bd611fdbf78a33f5dcb9697238527b87c77d4.tar.gz |
core: expose NMIPAddress instances with prefix zero on D-Bus
Since commit 44768f0311deb9082c69e3525693091a59788ebb, we skip
exposing NMIPAddress instances with prefix zero. Now, that is
supported and we can remove the check.
Diffstat (limited to 'src/nm-ip6-config.c')
-rw-r--r-- | src/nm-ip6-config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nm-ip6-config.c b/src/nm-ip6-config.c index 0b32901bf1..8e7bd22cc1 100644 --- a/src/nm-ip6-config.c +++ b/src/nm-ip6-config.c @@ -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; |