X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/17934c433e64063bfb3e1a1b7ca8e5cff95f8710..48f596ccb10ba6fdcd672cfec798b0012865492e:/print-ldp.c?ds=inline diff --git a/print-ldp.c b/print-ldp.c index d31bfa89..d699db04 100644 --- a/print-ldp.c +++ b/print-ldp.c @@ -349,7 +349,7 @@ ldp_tlv_print(netdissect_options *ndo, tptr+=LDP_TLV_ADDRESS_LIST_AFNUM_LEN; tlv_tlen-=LDP_TLV_ADDRESS_LIST_AFNUM_LEN; if (af == AFNUM_INET) { - i=decode_prefix4(tptr,tlv_tlen,buf,sizeof(buf)); + i=decode_prefix4(ndo, tptr, tlv_tlen, buf, sizeof(buf)); if (i == -2) goto trunc; if (i == -3) @@ -361,7 +361,7 @@ ldp_tlv_print(netdissect_options *ndo, } #ifdef INET6 else if (af == AFNUM_INET6) { - i=decode_prefix6(tptr,tlv_tlen,buf,sizeof(buf)); + i=decode_prefix6(ndo, tptr, tlv_tlen, buf, sizeof(buf)); if (i == -2) goto trunc; if (i == -3)