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,