summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/advcap.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-23 11:23:25 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-23 11:23:25 +0000
commitbbf92ef64d53877868b9de797b4762f8616f4292 (patch)
tree49e46b4f3486410494a89556fc1edaccbf003e9e /usr.sbin/rtadvd/advcap.c
parent26f1ef8bde652ad2790946e44f8750dc332ca739 (diff)
sync with latest kame.
- weaken logging priority for /etc/resolv.conf open failure - gather stats, emit stats by SIGUSR1 - use SIOCGIFMTU to get interface MTU (just a matter of #ifdef) From: "Todd T. Fries" <todd@fries.net>
Diffstat (limited to 'usr.sbin/rtadvd/advcap.c')
-rw-r--r--usr.sbin/rtadvd/advcap.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/rtadvd/advcap.c b/usr.sbin/rtadvd/advcap.c
index 468a3ccb1fa..0dd4a27b433 100644
--- a/usr.sbin/rtadvd/advcap.c
+++ b/usr.sbin/rtadvd/advcap.c
@@ -1,4 +1,5 @@
-/* $OpenBSD: advcap.c,v 1.2 1999/12/11 10:33:28 itojun Exp $ */
+/* $OpenBSD: advcap.c,v 1.3 2000/05/23 11:23:22 itojun Exp $ */
+/* $KAME: advcap.c,v 1.4 2000/05/23 11:17:40 itojun Exp $ */
/*
* Copyright (c) 1983 The Regents of the University of California.
@@ -33,10 +34,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static char sccsid[] = "@(#)remcap.c 5.5 (Berkeley) 2/2/91";
-#endif /* not lint */
-
/*
* remcap - routines for dealing with the remote host data base
*
@@ -141,7 +138,7 @@ getent(bp, name, cp)
tf = open(RM = cp, O_RDONLY);
}
if (tf < 0) {
- syslog(LOG_WARNING,
+ syslog(LOG_INFO,
"<%s> open: %s", __FUNCTION__, strerror(errno));
return (-2);
}