aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-01-19 21:51:30 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-01-19 21:51:30 +0000
commit32f6ab2248a3b0770151d1e5131d8449371299ce (patch)
treee5af8709acf1e0e90db275d6cc016949c005d827 /epan/dissectors/packet-sip.c
parent316cd696424b122c581716389ed1ba3808c0f974 (diff)
Simply this:
#define SIP2_HDR "SIP/2.0" #define SIP2_HDR_LEN ((gint)strlen (SIP2_HDR)) To this: #define SIP2_HDR "SIP/2.0" #define SIP2_HDR_LEN 7 svn path=/trunk/; revision=35588
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 11f21b9153..f06f3b72ca 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -756,7 +756,7 @@ static dissector_table_t media_type_dissector_table;
static heur_dissector_list_t heur_subdissector_list;
#define SIP2_HDR "SIP/2.0"
-#define SIP2_HDR_LEN ((gint)strlen (SIP2_HDR))
+#define SIP2_HDR_LEN 7
/* Store the info needed by the SIP tap for one packet */
static sip_info_value_t *stat_info;