X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..e6eab7bccfbf8fe9c386e16a9c5441e7a57066ae:/print-sip.c diff --git a/print-sip.c b/print-sip.c index 50a846eb..14fe94e5 100644 --- a/print-sip.c +++ b/print-sip.c @@ -50,5 +50,6 @@ static const char *sipcmds[] = { void sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) { - txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN); + ndo->ndo_protocol = "sip"; + txtproto_print(ndo, pptr, len, sipcmds, RESP_CODE_SECOND_TOKEN); }