summaryrefslogtreecommitdiffstats
path: root/lib/ipaddr.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-04-18 22:03:35 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commit2fff50ec018fb6ea64329399b103be7f4359f021 (patch)
tree0169145e9a0102fc1cecd63caef1e5a22e906c10 /lib/ipaddr.h
parentdoc: add vrrpd(8) (diff)
downloadfrr-2fff50ec018fb6ea64329399b103be7f4359f021.tar.xz
frr-2fff50ec018fb6ea64329399b103be7f4359f021.zip
vrrpd, lib: style fixes
Fixup: * Blank lines after declarations * Trailing whitespace * Braces and parentheses Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/ipaddr.h')
-rw-r--r--lib/ipaddr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipaddr.h b/lib/ipaddr.h
index 503431a7c..1c2399fdd 100644
--- a/lib/ipaddr.h
+++ b/lib/ipaddr.h
@@ -57,7 +57,7 @@ struct ipaddr {
#define SET_IPADDR_V6(p) (p)->ipa_type = IPADDR_V6
#define IPADDRSZ(p) \
- IS_IPADDR_V4((p)) ? sizeof(struct in_addr) : sizeof(struct in6_addr)
+ (IS_IPADDR_V4((p)) ? sizeof(struct in_addr) : sizeof(struct in6_addr))
static inline int str2ipaddr(const char *str, struct ipaddr *ip)
{