]> git.proxmox.com Git - mirror_frr.git/commitdiff
nhrpd: Fix style issues
authorReuben Dowle <reuben.dowle@4rf.com>
Thu, 1 Apr 2021 01:28:25 +0000 (14:28 +1300)
committerReuben Dowle <reuben.dowle@4rf.com>
Mon, 5 Apr 2021 21:23:42 +0000 (09:23 +1200)
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
nhrpd/linux.c
nhrpd/nhrp_multicast.c

index e729f72644bd1d0ed5169ec3719601d1e14065a5..291966ee77fb947c34954be943300e51d08feb51 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef HAVE_STRLCPY
 size_t strlcpy(char *__restrict dest,
-               const char *__restrict src, size_t destsize);
+              const char *__restrict src, size_t destsize);
 #endif
 
 static int nhrp_socket_fd = -1;
index 3df91492a8708029a8e20f6abc42f9645a052225..93e92e79b30be3df75498539e069640d62687068 100644 (file)
@@ -134,8 +134,9 @@ static void netlink_mcast_log_handler(struct nlmsghdr *msg, struct zbuf *zb)
        if (!ctx.ifp)
                return;
 
-       debugf(NHRP_DEBUG_COMMON, "Intercepted multicast packet leaving %s len %zu",
-                  ctx.ifp->name, zbuf_used(ctx.pkt));
+       debugf(NHRP_DEBUG_COMMON,
+              "Intercepted multicast packet leaving %s len %zu",
+              ctx.ifp->name, zbuf_used(ctx.pkt));
 
        for (afi = 0; afi < AFI_MAX; afi++) {
                nhrp_multicast_foreach(ctx.ifp, afi, nhrp_multicast_forward,