diff options
Diffstat (limited to 'print-sip.c')
| -rw-r--r-- | print-sip.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/print-sip.c b/print-sip.c index 8e308ed5..3be6a383 100644 --- a/print-sip.c +++ b/print-sip.c @@ -10,7 +10,7 @@ * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE. * - * Original code by Hannes Gredler (hannes@juniper.net) + * Original code by Hannes Gredler (hannes@gredler.at) * Turned into common "text protocol" code, which this uses, by * Guy Harris. */ @@ -18,10 +18,10 @@ /* \summary: Session Initiation Protocol (SIP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif -#include <netdissect-stdinc.h> +#include "netdissect-stdinc.h" #include "netdissect.h" #include "extract.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); } |
