diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-26 19:50:33 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-26 19:50:33 +0400 |
commit | 9eb56b6235d66550fb3cb282344cac82e9efcb1b (patch) | |
tree | ed485b452df82a7b066da5c13c090914f97aec92 /print-ldp.c | |
parent | 979fc38d033c43d68149954d64c93a273d358040 (diff) | |
download | tcpdump-9eb56b6235d66550fb3cb282344cac82e9efcb1b.tar.gz |
NDOize BGP decoder
Diffstat (limited to 'print-ldp.c')
-rw-r--r-- | print-ldp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |