mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 01:00:36 +01:00
platform: fix compilation if we don't have INET6_ADDR_GEN_MODE_* constants
As in src/platform/nm-linux-platform.c https://mail.gnome.org/archives/networkmanager-list/2015-October/msg00023.html
This commit is contained in:
parent
e9c9d02452
commit
35802ac01c
1 changed files with 1 additions and 1 deletions
|
|
@ -950,7 +950,7 @@ nm_platform_link_get_user_ipv6ll_enabled (NMPlatform *self, int ifindex)
|
|||
|
||||
g_return_val_if_fail (ifindex >= 0, FALSE);
|
||||
|
||||
#if HAVE_LIBNL_INET6_ADDR_GEN_MODE
|
||||
#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE
|
||||
{
|
||||
const NMPlatformLink *pllink;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue