diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-28 14:43:43 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-28 16:02:56 +0400 |
commit | 5d85aa67ed0a3ade5096d58c75169b23e87ecb8a (patch) | |
tree | f97895ef25397dd0c0a21a4261c0583cd53f7e73 /print-udp.c | |
parent | 2210a967cb4e8cfca405543d5d98f3734690bd71 (diff) | |
download | tcpdump-5d85aa67ed0a3ade5096d58c75169b23e87ecb8a.tar.gz |
NDOize AppleTalk, CDP and Kerberos decoders
Diffstat (limited to 'print-udp.c')
-rw-r--r-- | print-udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-udp.c b/print-udp.c index a5412a16..5d2d83cd 100644 --- a/print-udp.c +++ b/print-udp.c @@ -515,7 +515,7 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length, (atalk_port(sport) || atalk_port(dport))) { if (ndo->ndo_vflag) ND_PRINT((ndo, "kip ")); - llap_print(cp, length); + llap_print(ndo, cp, length); return; } } @@ -595,7 +595,7 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length, else if (ISPORT(NTP_PORT)) ntp_print(ndo, (const u_char *)(up + 1), length); else if (ISPORT(KERBEROS_PORT) || ISPORT(KERBEROS_SEC_PORT)) - krb_print((const void *)(up + 1)); + krb_print(ndo, (const void *)(up + 1)); else if (ISPORT(L2TP_PORT)) l2tp_print(ndo, (const u_char *)(up + 1), length); #ifdef TCPDUMP_DO_SMB |