summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/timer.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/timer.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/timer.c')
-rw-r--r--usr.sbin/rtadvd/timer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/timer.c b/usr.sbin/rtadvd/timer.c
index 884335bdbd8..72938ccfb16 100644
--- a/usr.sbin/rtadvd/timer.c
+++ b/usr.sbin/rtadvd/timer.c
@@ -1,4 +1,5 @@
-/* $OpenBSD: timer.c,v 1.2 1999/12/11 10:33:30 itojun Exp $ */
+/* $OpenBSD: timer.c,v 1.3 2000/05/23 11:23:24 itojun Exp $ */
+/* $KAME: timer.c,v 1.2 2000/05/16 13:34:14 itojun Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -35,7 +36,7 @@
#include <syslog.h>
#include <stdlib.h>
#include <string.h>
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <search.h>
#endif
#include "timer.h"