diff options
Diffstat (limited to 'epan/address_to_str.c')
-rw-r--r-- | epan/address_to_str.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/epan/address_to_str.c b/epan/address_to_str.c index 62a79edb17..b9081d5fa8 100644 --- a/epan/address_to_str.c +++ b/epan/address_to_str.c @@ -282,7 +282,7 @@ tvb_vines_addr_to_str(tvbuff_t *tvb, const gint offset) /* This function is very fast and this function is called a lot. - XXX update the ep_address_to_str stuff to use this function. + XXX update the address_to_str stuff to use this function. */ gchar * eui64_to_str(const guint64 ad) { @@ -455,16 +455,6 @@ address_to_str(wmem_allocator_t *scope, const address *addr) return str; } -gchar* -ep_address_to_str(const address *addr) -{ - gchar *str; - - str=(gchar *)ep_alloc(MAX_ADDR_STR_LEN); - address_to_str_buf(addr, str, MAX_ADDR_STR_LEN); - return str; -} - void address_to_str_buf(const address *addr, gchar *buf, int buf_len) { |