aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 2d4b3f1878..6756acda79 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -3018,6 +3018,15 @@ add_ether_byip(const guint ip, const guint8 *eth)
} /* add_ether_byip */
+gchar *
+ipxnet_to_str_punct(wmem_allocator_t *scope, const guint32 ad, const char punct)
+{
+ gchar *buf = (gchar *)wmem_alloc(scope, 12);
+
+ *dword_to_hex_punct(buf, ad, punct) = '\0';
+ return buf;
+}
+
const gchar *
get_ipxnet_name(wmem_allocator_t *allocator, const guint32 addr)
{