summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_nht.c2
-rw-r--r--pimd/pim_tlv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 289f2a2ed..60b7c73d4 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -217,7 +217,7 @@ void pim_delete_tracked_nexthop(struct pim_instance *pim, struct prefix *addr,
if (PIM_DEBUG_PIM_NHT) {
char buf[PREFIX_STRLEN];
- prefix2str(addr, buf, sizeof buf);
+ prefix2str(addr, buf, sizeof(buf));
zlog_debug(
"%s: NHT %s(%s) rp_list count:%d upstream count:%ld",
__func__, buf, pim->vrf->name,
diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c
index 7b27211ed..5a751ac92 100644
--- a/pimd/pim_tlv.c
+++ b/pimd/pim_tlv.c
@@ -143,7 +143,7 @@ int pim_encode_addr_ucast(uint8_t *buf, struct prefix *p)
}
}
-#define group_ipv4_encoding_len (4 + sizeof (struct in_addr))
+#define group_ipv4_encoding_len (4 + sizeof(struct in_addr))
/*
* Encoded-Group addresses take the following format: