summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-megaco.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-05-27 03:06:50 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-05-27 03:06:50 +0000
commitf3f9f2697f4ac1571d0204aa51dce0d2cb9041dd (patch)
tree87c08d45e5035c9e9755fd61766ae0c0cda51efe /epan/dissectors/packet-megaco.c
parent024d0e2ac7f11af1c611c0db537d4023ed760676 (diff)
downloadwireshark-f3f9f2697f4ac1571d0204aa51dce0d2cb9041dd.tar.gz
Make TVBs opaque for most users.
Convert TVB_RAW_OFFSET() and TVB_GET_DS_TVB() into functions. svn path=/trunk/; revision=37422
Diffstat (limited to 'epan/dissectors/packet-megaco.c')
-rw-r--r--epan/dissectors/packet-megaco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-megaco.c b/epan/dissectors/packet-megaco.c
index dc8812698e..94147252e9 100644
--- a/epan/dissectors/packet-megaco.c
+++ b/epan/dissectors/packet-megaco.c
@@ -367,7 +367,7 @@ dissect_megaco_text(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
return;
}
- msg = gcp_msg(pinfo, TVB_RAW_OFFSET(tvb), keep_persistent_data);
+ msg = gcp_msg(pinfo, tvb_raw_offset(tvb), keep_persistent_data);
/*
* Check to see whether we're really dealing with MEGACO by looking