]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sip.c
Clean up comments.
[tcpdump] / print-sip.c
index 50a846eb0066171fcab1b64937990dc0d39512df..14fe94e56d2b1145323fc618874e3176d59fcc07 100644 (file)
@@ -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);
 }