aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mgcp
diff options
context:
space:
mode:
authorhagbard <hagbard@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-08 04:47:33 +0000
committerhagbard <hagbard@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-08 04:47:33 +0000
commit40457dabb2e6486fa7df8386d21cc7e456429856 (patch)
tree10c09ca5d000795343011d6fd62a6644e8190c29 /plugins/mgcp
parentda5aec06413e3666d9adef5043d3d356a8f8fe90 (diff)
Some additional cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3660 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/mgcp')
-rw-r--r--plugins/mgcp/moduleinfo.h2
-rw-r--r--plugins/mgcp/packet-mgcp.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/mgcp/moduleinfo.h b/plugins/mgcp/moduleinfo.h
index 7c38304ef9..f69fd1bbf3 100644
--- a/plugins/mgcp/moduleinfo.h
+++ b/plugins/mgcp/moduleinfo.h
@@ -13,5 +13,5 @@
#endif
/* Version number of package */
-#define VERSION "0.0.7"
+#define VERSION "0.0.8"
diff --git a/plugins/mgcp/packet-mgcp.c b/plugins/mgcp/packet-mgcp.c
index 069d404306..46152aaaf3 100644
--- a/plugins/mgcp/packet-mgcp.c
+++ b/plugins/mgcp/packet-mgcp.c
@@ -2,7 +2,7 @@
* Routines for mgcp packet disassembly
* RFC 2705
*
- * $Id: packet-mgcp.c,v 1.24 2001/07/05 04:27:10 hagbard Exp $
+ * $Id: packet-mgcp.c,v 1.25 2001/07/08 04:47:33 hagbard Exp $
*
* Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
*
@@ -846,6 +846,9 @@ static gint tvb_parse_param(tvbuff_t* tvb, gint offset, gint len, int** hf){
*hf = &hf_mgcp_param_invalid;
}
}
+ else{
+ *hf = &hf_mgcp_param_invalid;
+ }
if(*hf == &hf_mgcp_param_invalid){
returnvalue = offset;
}