diff options
author | Evan Huus <eapache@gmail.com> | 2013-12-19 15:49:09 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-12-19 15:49:09 +0000 |
commit | a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 (patch) | |
tree | 0eff98882fe8c8a9db6f064b87330b8060fe37b2 /asn1/snmp | |
parent | b7ab4db2108fda5a1370b807d1b03ad93b1ca8f8 (diff) |
Rename a couple of to_str functions to have ep_ in the name. This makes it
obvious that the returned string is ephemeral, and opens up the original names
in the API for versions that take a wmem pool (and thus can work in any scope).
svn path=/trunk/; revision=54249
Diffstat (limited to 'asn1/snmp')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index a07157dfe6..2f09a95e04 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -1157,7 +1157,7 @@ dissect_snmp_engineid(proto_tree *tree, tvbuff_t *tvb, int offset, int len) /* 12-byte AgentID w/ 8-byte trailer */ if (len_remain==8) { proto_tree_add_text(tree, tvb, offset, 8, "AgentID Trailer: 0x%s", - tvb_bytes_to_str(tvb, offset, 8)); + tvb_bytes_to_ep_str(tvb, offset, 8)); offset+=8; len_remain-=8; } else { |