summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.h
diff options
context:
space:
mode:
authorpaul <paul>2005-11-03 09:08:29 +0000
committerpaul <paul>2005-11-03 09:08:29 +0000
commitbe5b175cf1995012fee66d2477835b6ed4568ae9 (patch)
treea85ca8fdf4de432659fc02dcf2150f055f2aae45 /ospfd/ospf_te.h
parent5d5cc292c81cc39b0920fdeba1129b163790e74b (diff)
downloadquagga-be5b175cf1995012fee66d2477835b6ed4568ae9.tar.bz2
quagga-be5b175cf1995012fee66d2477835b6ed4568ae9.tar.xz
2005-11-03 Paul Jakma <paul.jakma@sun.com>
* ospf_apiserver.c: (apiserver_sync_callback) stray semi-colon * ospf_packet.c: include checksum.h, remove the in_cksum extern * prototypes. * ospf_te.h: Add braces, quell warning.
Diffstat (limited to 'ospfd/ospf_te.h')
-rw-r--r--ospfd/ospf_te.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_te.h b/ospfd/ospf_te.h
index 8a7a98c7..e8511cdf 100644
--- a/ospfd/ospf_te.h
+++ b/ospfd/ospf_te.h
@@ -73,10 +73,10 @@ struct te_tlv_header
};
#define TLV_HDR_SIZE \
- sizeof (struct te_tlv_header)
+ (sizeof (struct te_tlv_header))
#define TLV_BODY_SIZE(tlvh) \
- ROUNDUP (ntohs ((tlvh)->length), sizeof (u_int32_t))
+ (ROUNDUP (ntohs ((tlvh)->length), sizeof (u_int32_t)))
#define TLV_SIZE(tlvh) \
(TLV_HDR_SIZE + TLV_BODY_SIZE(tlvh))