diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-08 20:43:26 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-08 20:44:53 +0100 |
commit | 0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch) | |
tree | db39fd913f349a353a62ead250210aab49a8cc09 /nhrpd/nhrp_vc.c | |
parent | Merge pull request #5924 from donaldsharp/more_func (diff) | |
download | frr-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.c | 4 |
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; } |