diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:52:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:52:31 +0000 |
commit | 31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d (patch) | |
tree | 99d6c086833d530e5d1d33a8128961f8149843f0 /print-krb.c | |
parent | Adding upstream version 4.99.4. (diff) | |
download | tcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.tar.xz tcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.zip |
Adding upstream version 4.99.5.upstream/4.99.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | print-krb.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/print-krb.c b/print-krb.c index 959b555..69a0c11 100644 --- a/print-krb.c +++ b/print-krb.c @@ -23,9 +23,7 @@ /* \summary: Kerberos printer */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include "netdissect-stdinc.h" @@ -229,13 +227,10 @@ krb_print(netdissect_options *ndo, { const struct krb *kp; - ndo->ndo_protocol = "krb"; - kp = (const struct krb *)dat; + ndo->ndo_protocol = "kerberos"; + nd_print_protocol(ndo); - if (dat >= ndo->ndo_snapend) { - nd_print_trunc(ndo); - return; - } + kp = (const struct krb *)dat; switch (GET_U_1(kp->pvno)) { |