diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 14:24:23 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 14:24:23 +0200 |
commit | 2e99bc485ab304df2d4c797af9576ad1b167c0f8 (patch) | |
tree | f489ce3f3c9218665f79422508f41468ba6e5a0b /print-olsr.c | |
parent | ff4af2069a7d1f56cbcd4292e3d25ddb41a19b0b (diff) | |
download | tcpdump-2e99bc485ab304df2d4c797af9576ad1b167c0f8.tar.gz |
Put "{" at end of line with "else" to keep a consistent style
[skip ci]
Diffstat (limited to 'print-olsr.c')
-rw-r--r-- | print-olsr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/print-olsr.c b/print-olsr.c index fabadfb9..1b0345fc 100644 --- a/print-olsr.c +++ b/print-olsr.c @@ -381,8 +381,7 @@ olsr_print(netdissect_options *ndo, msg_tlen = msg_len - sizeof(struct olsr_msg6); msg_data = tptr + sizeof(struct olsr_msg6); } - else /* (!is_ipv6) */ - { + else { /* (!is_ipv6) */ ND_TCHECK_LEN(tptr, sizeof(struct olsr_msg4)); msgptr.v4 = (const struct olsr_msg4 *) tptr; msg_type = GET_U_1(msgptr.v4->msg_type); @@ -537,8 +536,7 @@ olsr_print(netdissect_options *ndo, msg_tlen -= sizeof(struct olsr_hna6); } } - else - { + else { int col = 0; ND_PRINT("\n\t Advertised networks (total %u)", |