mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 07:20:14 +01:00
platform: Fix build with LIBNL_INET6_ADDR_GEN_MODE
platform/nm-linux-platform.c: In function 'setup':
platform/nm-linux-platform.c:4364:2: error: 'object' undeclared (first use in this function)
object = nl_cache_get_first (priv->link_cache);
^
Fixes 2b8060b9b3
This commit is contained in:
parent
1f1aebebea
commit
53380159dd
1 changed files with 3 additions and 0 deletions
|
|
@ -4319,6 +4319,9 @@ setup (NMPlatform *platform)
|
|||
int channel_flags;
|
||||
gboolean status;
|
||||
int nle;
|
||||
#if HAVE_LIBNL_INET6_ADDR_GEN_MODE
|
||||
struct nl_object *object;
|
||||
#endif
|
||||
|
||||
/* Initialize netlink socket for requests */
|
||||
priv->nlh = setup_socket (FALSE, platform);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue