• Thomas Haller's avatar
    platform: fix nm_platform_lnk_gre_to_string() for tap links · ed88c71f
    Thomas Haller authored
    Why didn't we get a compiler warning about this bug?
    At least clang (3.8.0-2ubuntu4, Ubuntu 16.04) warns:
    
        CC       src/platform/src_libNetworkManagerBase_la-nm-platform.lo
      ../src/platform/nm-platform.c:5389:14: error: data argument not used by format string [-Werror,-Wformat-extra-args]
                          lnk->remote ? nm_sprintf_buf (str_remote, " remote %s", nm_utils_inet4_ntop (lnk->remote, str_remote1)) : "",
                          ^
    
    Fixes: 4c2862b9 ('platform: add gretap tunnels support')
    (cherry picked from commit dfb899f4)
    ed88c71f
Name
Last commit
Last update
..
linux Loading commit data...
tests Loading commit data...
wifi Loading commit data...
wpan Loading commit data...
nm-fake-platform.c Loading commit data...
nm-fake-platform.h Loading commit data...
nm-linux-platform.c Loading commit data...
nm-linux-platform.h Loading commit data...
nm-netlink.c Loading commit data...
nm-netlink.h Loading commit data...
nm-platform-private.h Loading commit data...
nm-platform-utils.c Loading commit data...
nm-platform-utils.h Loading commit data...
nm-platform.c Loading commit data...
nm-platform.h Loading commit data...
nmp-netns.c Loading commit data...
nmp-netns.h Loading commit data...
nmp-object.c Loading commit data...
nmp-object.h Loading commit data...
nmp-rules-manager.c Loading commit data...
nmp-rules-manager.h Loading commit data...