]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
interfaces: "fix" style issue in latest commit
authorVincent Bernat <vincent@bernat.ch>
Sun, 7 Apr 2024 10:49:22 +0000 (12:49 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 7 Apr 2024 10:49:22 +0000 (12:49 +0200)
Depending on the version of clang, we may get different result. This is
annoying, but no time to fix that now.

src/daemon/interfaces-linux.c

index 099412a1276a6cda05c6bf16048566670ca1950f..2ee2823f05caddf03d9f0e7ca57c67a822b66721 100644 (file)
@@ -390,7 +390,7 @@ iflinux_get_permanent_mac(struct lldpd *cfg, struct interfaces_device_list *inte
 #ifdef ENABLE_DOT3
 #  define ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NU32 (SCHAR_MAX)
 #  define ETHTOOL_DECLARE_LINK_MODE_MASK(name) \
-         uint32_t name[ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NU32]
+    uint32_t name[ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NU32]
 
 struct ethtool_link_usettings {
        struct ethtool_link_settings base;