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 d642f831..ae2596ac 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -1328,8 +1328,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 */ |