summaryrefslogtreecommitdiff
path: root/print-nsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-nsh.c')
-rw-r--r--print-nsh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-nsh.c b/print-nsh.c
index 12a63cd6..db78dee6 100644
--- a/print-nsh.c
+++ b/print-nsh.c
@@ -189,8 +189,7 @@ nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
bp += NSH_HDR_WORD_SIZE;
}
past_headers = 1;
- }
- else if (md_type == MD_TYPE2) {
+ } else if (md_type == MD_TYPE2) {
n = 0;
while (n < length - 2) {
uint16_t tlv_class;