mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
nhrpd: Fix style issues
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
This commit is contained in:
parent
4946316150
commit
c2bb9917b1
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#ifndef HAVE_STRLCPY
|
#ifndef HAVE_STRLCPY
|
||||||
size_t strlcpy(char *__restrict dest,
|
size_t strlcpy(char *__restrict dest,
|
||||||
const char *__restrict src, size_t destsize);
|
const char *__restrict src, size_t destsize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int nhrp_socket_fd = -1;
|
static int nhrp_socket_fd = -1;
|
||||||
|
@ -134,8 +134,9 @@ static void netlink_mcast_log_handler(struct nlmsghdr *msg, struct zbuf *zb)
|
|||||||
if (!ctx.ifp)
|
if (!ctx.ifp)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
debugf(NHRP_DEBUG_COMMON, "Intercepted multicast packet leaving %s len %zu",
|
debugf(NHRP_DEBUG_COMMON,
|
||||||
ctx.ifp->name, zbuf_used(ctx.pkt));
|
"Intercepted multicast packet leaving %s len %zu",
|
||||||
|
ctx.ifp->name, zbuf_used(ctx.pkt));
|
||||||
|
|
||||||
for (afi = 0; afi < AFI_MAX; afi++) {
|
for (afi = 0; afi < AFI_MAX; afi++) {
|
||||||
nhrp_multicast_foreach(ctx.ifp, afi, nhrp_multicast_forward,
|
nhrp_multicast_foreach(ctx.ifp, afi, nhrp_multicast_forward,
|
||||||
|
Loading…
Reference in New Issue
Block a user