From c2bb9917b1f44bee00bb5e5361ab6e9e03861a69 Mon Sep 17 00:00:00 2001 From: Reuben Dowle Date: Thu, 1 Apr 2021 14:28:25 +1300 Subject: [PATCH] nhrpd: Fix style issues Signed-off-by: Reuben Dowle --- nhrpd/linux.c | 2 +- nhrpd/nhrp_multicast.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nhrpd/linux.c b/nhrpd/linux.c index e729f72644..291966ee77 100644 --- a/nhrpd/linux.c +++ b/nhrpd/linux.c @@ -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; diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c index 3df91492a8..93e92e79b3 100644 --- a/nhrpd/nhrp_multicast.c +++ b/nhrpd/nhrp_multicast.c @@ -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, -- 2.39.5