From 31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:52:31 +0200 Subject: Adding upstream version 4.99.5. Signed-off-by: Daniel Baumann --- print-krb.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'print-krb.c') 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 -#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)) { -- cgit v1.2.3