mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 09:10:10 +01:00
device: use proper define NM_SETTING_IP6_CONFIG_METHOD_SHARED in addrconf6_start()
This commit is contained in:
parent
57c1982867
commit
e8a63b0ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -11043,7 +11043,7 @@ addrconf6_start(NMDevice *self, NMSettingIP6ConfigPrivacy use_tempaddr)
|
|||
g_assert(s_ip6);
|
||||
|
||||
if (nm_streq(nm_device_get_effective_ip_config_method(self, AF_INET6),
|
||||
NM_SETTING_IP4_CONFIG_METHOD_SHARED))
|
||||
NM_SETTING_IP6_CONFIG_METHOD_SHARED))
|
||||
node_type = NM_NDISC_NODE_TYPE_ROUTER;
|
||||
else
|
||||
node_type = NM_NDISC_NODE_TYPE_HOST;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue