aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2007-05-16 14:24:13 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2007-05-16 14:24:13 +0000
commitae673b5b382efe5cb82a4386e85bdcb1b8b43087 (patch)
tree7b6493b2a0e7a91058f04b4c039b3acaa48c51fe /epan/dissectors/packet-sip.c
parent2251e355142016ffeacd89c827f1ed06c59eef10 (diff)
Allow Via sigcomp-id parameter name to be matched properly.
svn path=/trunk/; revision=21804
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 c9aac2dbaa..03f7389a9d 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -1311,7 +1311,7 @@ static void dissect_sip_via_header(tvbuff_t *tvb, proto_tree *tree, gint start_o
while (current_offset < line_end_offset)
{
c = tvb_get_guint8(tvb, current_offset);
- if (!isalpha(c))
+ if (!isalpha(c) && (c != '-'))
{
break;
}