diff options
author | Patrick Kelsey <pkelsey@FreeBSD.org> | 2015-07-06 02:16:08 +0000 |
---|---|---|
committer | Patrick Kelsey <pkelsey@FreeBSD.org> | 2015-07-06 02:16:08 +0000 |
commit | 7041091186ddb72670e3e2d8254859ed31d3f2e6 (patch) | |
tree | a4829ce6205db3fdb0e6cebd0d396f5c4094bb3b /print-babel.c | |
parent | d3b6650ba68c44e3a488aac17bbe56d0cd0e870d (diff) |
Diffstat (limited to 'print-babel.c')
-rw-r--r-- | print-babel.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/print-babel.c b/print-babel.c index bb3401be5e07..75cb32cf19e9 100644 --- a/print-babel.c +++ b/print-babel.c @@ -46,7 +46,8 @@ static void babel_print_v2(netdissect_options *, const u_char *cp, u_int length) void babel_print(netdissect_options *ndo, - const u_char *cp, u_int length) { + const u_char *cp, u_int length) +{ ND_PRINT((ndo, "babel")); ND_TCHECK2(*cp, 4); @@ -270,7 +271,8 @@ network_address(int ae, const unsigned char *a, unsigned int len, */ static void subtlvs_print(netdissect_options *ndo, - const u_char *cp, const u_char *ep, const uint8_t tlv_type) { + const u_char *cp, const u_char *ep, const uint8_t tlv_type) +{ uint8_t subtype, sublen; const char *sep; uint32_t t1, t2; @@ -340,7 +342,8 @@ subtlvs_print(netdissect_options *ndo, static void babel_print_v2(netdissect_options *ndo, - const u_char *cp, u_int length) { + const u_char *cp, u_int length) +{ u_int i; u_short bodylen; u_char v4_prefix[16] = |