summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtadvd/timer.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-05-23 11:23:22 +0000
committeritojun <itojun@openbsd.org>2000-05-23 11:23:22 +0000
commitbe3828fb275beecd6e20ee78d7cadd48b67e946c (patch)
treef85b49749432ce58ac73033f2fd9ff54c12187ee /usr.sbin/rtadvd/timer.c
parentdoc actual tun behaviour; jon@spock.org (diff)
downloadwireguard-openbsd-be3828fb275beecd6e20ee78d7cadd48b67e946c.tar.xz
wireguard-openbsd-be3828fb275beecd6e20ee78d7cadd48b67e946c.zip
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"