summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/log.c')
-rw-r--r--usr.sbin/bgpd/log.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c
index 7957c87af21..43230c1d976 100644
--- a/usr.sbin/bgpd/log.c
+++ b/usr.sbin/bgpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.5 2003/12/24 19:21:20 henning Exp $ */
+/* $OpenBSD: log.c,v 1.6 2003/12/26 14:26:02 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -308,15 +308,3 @@ log_conn_attempt(struct peer *peer, struct in_addr remote)
free(p);
}
}
-
-void
-log_kroute(int pri, const char *lmsg, struct kroute *kr)
-{
- char *ip;
- struct in_addr ina;
-
- ina.s_addr = kr->prefix;
-
- ip = inet_ntoa(ina);
- logit(pri, "%s %s/%u", lmsg, ip, kr->prefixlen);
-}