summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-27 22:18:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-27 22:18:30 +0000
commitc7c79d5a8125f62500c7c6d95b60e7cc2534c93e (patch)
tree309f311fcc75feb2f037ca4dfc3635ef7412582f /usr.sbin
parent7c668cd8106375fa79fca60323a51ab265d9cc3b (diff)
log_ntoa is herewith condemned to death by claudio and yours truly
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
-rw-r--r--usr.sbin/bgpd/log.c11
2 files changed, 2 insertions, 12 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 49c66f17cdd..94363d837bd 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.84 2004/01/27 21:56:21 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.85 2004/01/27 22:18:28 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -293,7 +293,6 @@ void log_debug(const char *, ...);
void fatal(const char *);
void fatalx(const char *);
void fatal_ensure(const char *, int, const char *);
-const char *log_ntoa(in_addr_t);
const char *log_addr(const struct bgpd_addr *);
/* parse.y */
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c
index 59ec9c8f03d..44ffacd1938 100644
--- a/usr.sbin/bgpd/log.c
+++ b/usr.sbin/bgpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.25 2004/01/27 21:23:39 henning Exp $ */
+/* $OpenBSD: log.c,v 1.26 2004/01/27 22:18:29 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -374,15 +374,6 @@ log_conn_attempt(const struct peer *peer, struct in_addr remote)
}
const char *
-log_ntoa(in_addr_t ip)
-{
- struct in_addr ina;
-
- ina.s_addr = ip;
- return (inet_ntoa(ina));
-}
-
-const char *
log_addr(const struct bgpd_addr *addr)
{
static char buf[48];