nhrpd: Fix style issues

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
This commit is contained in:
Reuben Dowle 2021-04-01 14:28:25 +13:00
parent 4946316150
commit c2bb9917b1
2 changed files with 4 additions and 3 deletions

View 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;

View 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,