]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sip.c
CHANGES: Move change(s) backported to 4.99
[tcpdump] / print-sip.c
index 3be6a38379475191de6fb38b19905048c37bfc2e..9af728a3576f02c2282de3acdfc4a36b274a7458 100644 (file)
 
 /* \summary: Session Initiation Protocol (SIP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
 #include "netdissect.h"
-#include "extract.h"
 
 static const char *sipcmds[] = {
        "ACK",
@@ -51,5 +48,5 @@ 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);
+       txtproto_print(ndo, pptr, len, sipcmds, RESP_CODE_SECOND_TOKEN);
 }