aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}