summaryrefslogtreecommitdiff
path: root/print-olsr.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-olsr.c')
-rw-r--r--print-olsr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/print-olsr.c b/print-olsr.c
index 1b0345fc..75acc836 100644
--- a/print-olsr.c
+++ b/print-olsr.c
@@ -380,8 +380,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);
@@ -535,8 +534,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)",