diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-24 01:06:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-24 01:06:21 +0000 |
commit | 29b99f4e6930deb02860b38afcc3e22d8e930ae5 (patch) | |
tree | 412ef781e9e1e7944173b141d38c2d8f656e209c /epan/to_str.c | |
parent | 7f0f29dced6531337f06744e7d52c7e74f7a13bf (diff) |
FC addresses are no longer extracted into guint32s, so "fc32_to_str()"
is no longer needed.
svn path=/trunk/; revision=8226
Diffstat (limited to 'epan/to_str.c')
-rw-r--r-- | epan/to_str.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index 3588da8f7e..735bc32952 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -1,7 +1,7 @@ /* to_str.c * Routines for utilities to convert various other types to strings. * - * $Id: to_str.c,v 1.30 2003/08/23 13:56:39 sahlberg Exp $ + * $Id: to_str.c,v 1.31 2003/08/24 01:06:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -589,24 +589,6 @@ fc_to_str(const guint8 *ad) return bytestring_to_str (ad, 3, '.'); } -gchar * -fc32_to_str(address *addr) -{ - static gchar *cur; - static gchar str[3][9]; - - if (cur == &str[0][0]) { - cur = &str[1][0]; - } else if (cur == &str[1][0]) { - cur = &str[2][0]; - } else { - cur = &str[0][0]; - } - - sprintf(cur,"%02x.%02x.%02x", addr->data[0], addr->data[1], addr->data[2]); - return cur; -} - /* FC Network Header Network Address Authority Identifiers */ #define FC_NH_NAA_IEEE 1 /* IEEE 802.1a */ |