diff options
Diffstat (limited to 'print-ip6.c')
-rw-r--r-- | print-ip6.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/print-ip6.c b/print-ip6.c index c5811300..2e1803f0 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -353,9 +353,14 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) } case IPPROTO_IPCOMP: { - int enh; - advance = ipcomp_print(ndo, cp, &enh); - nh = enh & 0xff; + ipcomp_print(ndo, cp); + /* + * Either this has decompressed the payload and + * printed it, in which case there's nothing more + * to do, or it hasn't, in which case there's + * nothing more to do. + */ + advance = -1; break; } |