summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
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];