diff options
Diffstat (limited to 'epan/address_to_str.c')
-rw-r--r-- | epan/address_to_str.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/address_to_str.c b/epan/address_to_str.c index 2ae8b2af93..361e3a0554 100644 --- a/epan/address_to_str.c +++ b/epan/address_to_str.c @@ -294,6 +294,13 @@ ipxnet_to_string(const guint8 *ad) return ipxnet_to_str_punct(addr, ' '); } + +gchar* +tvb_ipxnet_to_string(tvbuff_t *tvb, const gint offset) +{ + return ipxnet_to_str_punct(tvb_get_ntohl(tvb, offset), ' '); +} + gchar * ipxnet_to_str_punct(const guint32 ad, const char punct) { |