X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f5378f49b3c53640ce132ec7f7efe007202f86c8..c50f3934dacc4bd3fe16a900d4c63c05acb50ce3:/print-krb.c diff --git a/print-krb.c b/print-krb.c index d1bae9d9..69a0c115 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" @@ -207,7 +205,7 @@ krb4_print(netdissect_options *ndo, case AUTH_MSG_ERR_REPLY: if ((cp = krb4_print_hdr(ndo, cp)) == NULL) return; - cp += 4; /* timestamp */ + cp += 4; /* timestamp */ ND_PRINT(" %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp))); cp += 4; PRINT; @@ -229,7 +227,9 @@ krb_print(netdissect_options *ndo, { const struct krb *kp; - ndo->ndo_protocol = "krb"; + ndo->ndo_protocol = "kerberos"; + nd_print_protocol(ndo); + kp = (const struct krb *)dat; switch (GET_U_1(kp->pvno)) {