summaryrefslogtreecommitdiff
path: root/print-ipx.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-05 22:28:04 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-05 22:52:11 +0200
commite847135d66e822a96198a8d15771cf3a827b1ee9 (patch)
tree23a125fd30aab72b8233c073834606302f32c503 /print-ipx.c
parent38bd52133279d4ed3d0f4416b7325350d9f306c8 (diff)
downloadtcpdump-e847135d66e822a96198a8d15771cf3a827b1ee9.tar.gz
Functions in libnetdissect must use ndo_error() function
Diffstat (limited to 'print-ipx.c')
-rw-r--r--print-ipx.c4
1 files changed, 2 insertions, 2 deletions
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;