aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-07-02 14:22:08 +0100
committerMichael Mann <mmann78@netscape.net>2017-07-03 20:07:37 +0000
commitcaa06ddeab4ff7f427f864e865ab997cf6312772 (patch)
treea11640bd6780288de83463851bcfb03e8a3962d1 /epan/addr_resolv.c
parent1aa8ded9a3de8e6fb5b6a7b7dcca9d93bb50dcdd (diff)
Replace and remove enterprises_lookup_format()
Change-Id: I27517bdfc4d00ee758d3795bd74e54968e70efad Reviewed-on: https://code.wireshark.org/review/22497 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index e103653ca2..b52923a553 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -779,19 +779,6 @@ enterprises_base_custom(char *buf, guint32 value)
g_snprintf(buf, ITEM_LABEL_LENGTH, "%s (%u)", s, value);
}
-gchar *
-enterprises_lookup_format(wmem_allocator_t *allocator, guint32 value, const char *fmt)
-{
- const gchar *s;
-
- s = try_enterprises_lookup(value);
- if (s != NULL)
- return wmem_strdup(allocator, s);
- if (fmt != NULL)
- return wmem_strdup_printf(allocator, fmt, value);
- return wmem_strdup(allocator, "<Unknown>");
-}
-
static void
enterprises_cleanup(void)
{