]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sip.c
Handle rpcaps:// URLs as well, for rpcap-over-TLS.
[tcpdump] / print-sip.c
index dcf5a38c02c75373710752e89f92d7797c805d88..3be6a38379475191de6fb38b19905048c37bfc2e 100644 (file)
@@ -18,7 +18,7 @@
 /* \summary: Session Initiation Protocol (SIP) printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -50,5 +50,6 @@ static const char *sipcmds[] = {
 void
 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len)
 {
+       ndo->ndo_protocol = "sip";
        txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
 }