ND_PRINT("%s > %s: ",
ipaddr_string(ndo, ip->ip_src),
ipaddr_string(ndo, ip->ip_dst));
- goto trunc;
+ nd_print_trunc(ndo);
+ nd_pop_packet_info(ndo);
+ return;
}
}
trunc:
nd_print_trunc(ndo);
- nd_pop_packet_info(ndo);
return;
}
void
ipN_print(netdissect_options *ndo, const u_char *bp, u_int length)
{
- ndo->ndo_protocol = "ipN";
+ ndo->ndo_protocol = "ipn";
if (length < 1) {
ND_PRINT("truncated-ip %u", length);
return;