From: Reuben Dowle Date: Thu, 1 Apr 2021 01:28:25 +0000 (+1300) Subject: nhrpd: Fix style issues X-Git-Tag: base_8.0~145^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c2bb9917b1f44bee00bb5e5361ab6e9e03861a69;p=mirror%2Ffrr.git nhrpd: Fix style issues Signed-off-by: Reuben Dowle --- 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,