summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 21:43:26 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 21:44:53 +0200
commit0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch)
treedb39fd913f349a353a62ead250210aab49a8cc09 /ospfd/ospf_lsa.c
parent3c685e64ff0529cf5bf949dca0b63faf8b79ccb6 (diff)
*: 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 'ospfd/ospf_lsa.c')
-rw-r--r--ospfd/ospf_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 52db1de2d9..55ec638522 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -434,7 +434,7 @@ static char link_info_set(struct stream **s, struct in_addr id,
/* we futz the size here for simplicity, really we need
* to account
* for just:
- * IP Header - (sizeof (struct ip))
+ * IP Header - (sizeof(struct ip))
* OSPF Header - OSPF_HEADER_SIZE
* LSA Header - OSPF_LSA_HEADER_SIZE
* MD5 auth data, if MD5 is configured -