diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2014-12-11 15:20:08 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2014-12-11 15:20:08 +0100 |
commit | 53380159ddd846b3741a2cd63e282176e472f381 (patch) | |
tree | 622492fcb8b961641cce9e646cb11674cec14b9e | |
parent | 1f1aebebea222be9b5b6b72dd61f88c09de2bd71 (diff) | |
download | NetworkManager-53380159ddd846b3741a2cd63e282176e472f381.tar.gz |
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 2b8060b9b36fe8f540b38c085600f3771d4ac6b4
-rw-r--r-- | src/platform/nm-linux-platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index cdf3ce24dd..5d1522ce98 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -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); |