aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/lwres
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-05 17:12:07 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-05 17:12:07 +0000
commite1c0d7eae48d3a806bbae72037bebaf9c58fcf54 (patch)
tree01f803d8a35bf5c35362c2a6681c7929b75b0727 /plugins/lwres
parent11cf00c0ad5daf774649f0fefe956d4933c9bbf1 (diff)
From Lars Roland: get rid of "ip_to_str()", as it's just a copy of the
standard one in the Ethereal core, so that the plugin compiles on Windows. svn path=/trunk/; revision=8137
Diffstat (limited to 'plugins/lwres')
-rw-r--r--plugins/lwres/packet-lwres.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/plugins/lwres/packet-lwres.c b/plugins/lwres/packet-lwres.c
index 7e76759c11..926614f266 100644
--- a/plugins/lwres/packet-lwres.c
+++ b/plugins/lwres/packet-lwres.c
@@ -1,7 +1,7 @@
/* packet-lwres.c
* Routines for light weight reslover (lwres, part of BIND9) packet disassembly
*
- * $Id: packet-lwres.c,v 1.1 2003/08/05 05:03:30 guy Exp $
+ * $Id: packet-lwres.c,v 1.2 2003/08/05 17:12:07 guy Exp $
*
* Copyright (c) 2003 by Oleg Terletsky <oleg.terletsky@comverse.com>
*
@@ -244,24 +244,6 @@ ip_to_str_buf(const guint8 *ad, gchar *buf)
*p = '\0';
}
-gchar *
-ip_to_str(const guint8 *ad) {
- static gchar str[4][16];
- static gchar *cur;
-
- if (cur == &str[0][0]) {
- cur = &str[1][0];
- } else if (cur == &str[1][0]) {
- cur = &str[2][0];
- } else if (cur == &str[2][0]) {
- cur = &str[3][0];
- } else {
- cur = &str[0][0];
- }
- ip_to_str_buf(ad, cur);
- return cur;
-}
-
int
get_dns_name(tvbuff_t *tvb, int offset, int dns_data_offset,