diff options
Diffstat (limited to 'print-icmp6.c')
-rw-r--r-- | print-icmp6.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-icmp6.c b/print-icmp6.c index 3aa9a168..fefa6e1c 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -1346,8 +1346,7 @@ get_upperlayer(netdissect_options *ndo, const u_char *bp, u_int *prot) if (ND_TTEST_2(uh->uh_dport)) { *prot = nh; return(uh); - } - else + } else return(NULL); /* NOTREACHED */ |