diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 14:44:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 15:17:22 +0200 |
commit | 3018f3698b1463d4577ea8b412f079f4381b7605 (patch) | |
tree | a4bda8e5964715ab6806cddff75da97f15395108 /print-olsr.c | |
parent | e4ecc39f4ebb05aa2fb8293aaa71ffbe0a340ff1 (diff) | |
download | tcpdump-4.99.tar.gz |
Put "}" at beginning of line with "else" to keep a consistent styletcpdump-4.99
(backported from commit 113ed15b7ecae4a3523454344f9b3438ea97fdc7)
[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 ecf7918d..27e88721 100644 --- a/print-olsr.c +++ b/print-olsr.c @@ -390,8 +390,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); @@ -552,8 +551,7 @@ olsr_print(netdissect_options *ndo, msg_data += sizeof(struct olsr_hna6); msg_tlen -= sizeof(struct olsr_hna6); } - } - else { + } else { int col = 0; ND_PRINT("\n\t Advertised networks (total %u)", |