summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_vc.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:43:26 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:44:53 +0100
commit0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch)
treedb39fd913f349a353a62ead250210aab49a8cc09 /nhrpd/nhrp_vc.c
parentMerge pull request #5924 from donaldsharp/more_func (diff)
downloadfrr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.tar.xz
frr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.zip
*: Replace `sizeof something` to sizeof(something)
Satisfy checkpatch.pl requirements (check for sizeof without parenthesis) Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'nhrpd/nhrp_vc.c')
-rw-r--r--nhrpd/nhrp_vc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_vc.c b/nhrpd/nhrp_vc.c
index 605aa34ff..6567b231a 100644
--- a/nhrpd/nhrp_vc.c
+++ b/nhrpd/nhrp_vc.c
@@ -142,8 +142,8 @@ int nhrp_vc_ipsec_updown(uint32_t child_id, struct nhrp_vc *vc)
sa->vc->abort_migration = 0;
debugf(NHRP_DEBUG_COMMON, "IPsec NBMA change of %s to %s",
sockunion2str(&sa->vc->remote.nbma, buf[0],
- sizeof buf[0]),
- sockunion2str(&vc->remote.nbma, buf[1], sizeof buf[1]));
+ sizeof(buf[0])),
+ sockunion2str(&vc->remote.nbma, buf[1], sizeof(buf[1])));
nhrp_vc_update(sa->vc, NOTIFY_VC_IPSEC_UPDATE_NBMA);
abort_migration = sa->vc->abort_migration;
}