summaryrefslogtreecommitdiffstats
path: root/usr.sbin/map-mbone
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2011-09-21 18:48:43 +0000
committerjsg <jsg@openbsd.org>2011-09-21 18:48:43 +0000
commit257cebf3e526aac72a8a236f665f71b883ac9d4a (patch)
tree8454315566ac4e7b3f609ce47fe7447fdaf09e50 /usr.sbin/map-mbone
parentDuring socket splicing the relayd session timeouts could not be (diff)
downloadwireguard-openbsd-257cebf3e526aac72a8a236f665f71b883ac9d4a.tar.xz
wireguard-openbsd-257cebf3e526aac72a8a236f665f71b883ac9d4a.zip
include err.h for warnx
Diffstat (limited to 'usr.sbin/map-mbone')
-rw-r--r--usr.sbin/map-mbone/mapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/map-mbone/mapper.c b/usr.sbin/map-mbone/mapper.c
index d0bffd67b0b..a51c0014c8d 100644
--- a/usr.sbin/map-mbone/mapper.c
+++ b/usr.sbin/map-mbone/mapper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mapper.c,v 1.19 2007/02/18 20:57:53 jmc Exp $ */
+/* $OpenBSD: mapper.c,v 1.20 2011/09/21 18:48:43 jsg Exp $ */
/* $NetBSD: mapper.c,v 1.3 1995/12/10 11:12:04 mycroft Exp $ */
/* Mapper for connections between MRouteD multicast routers.
@@ -42,6 +42,7 @@
#include <arpa/inet.h>
#include <stdarg.h>
#include <poll.h>
+#include <err.h>
#define DEFAULT_TIMEOUT 2 /* How long to wait before retrying requests */
#define DEFAULT_RETRIES 1 /* How many times to ask each router */