From e847135d66e822a96198a8d15771cf3a827b1ee9 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 5 Sep 2015 22:28:04 +0200 Subject: Functions in libnetdissect must use ndo_error() function --- print-ipx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-ipx.c') diff --git a/print-ipx.c b/print-ipx.c index b24bbd2b..b06ff613 100644 --- a/print-ipx.c +++ b/print-ipx.c @@ -164,7 +164,7 @@ ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) ND_PRINT((ndo, "ipx-sap-nearest-req")); ND_TCHECK(ipx[0]); - ND_PRINT((ndo, " %s", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0]))))); + ND_PRINT((ndo, " %s", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); break; case 2: @@ -176,7 +176,7 @@ ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) for (i = 0; i < 8 && length > 0; i++) { ND_TCHECK(ipx[0]); - ND_PRINT((ndo, " %s '", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0]))))); + ND_PRINT((ndo, " %s '", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); if (fn_printzp(ndo, (const u_char *)&ipx[1], 48, ndo->ndo_snapend)) { ND_PRINT((ndo, "'")); goto trunc; -- cgit v1.2.1