summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2008-05-08 07:28:08 +0000
committerbeck <beck@openbsd.org>2008-05-08 07:28:08 +0000
commita84ef30b740254fa7072c48d98f6d182dfe0b8d2 (patch)
tree2df8533fb318c5857ce41db2ea962537bc838e96
parentSync netstat show.c with route show.c to gain mpls support and to show the (diff)
downloadwireguard-openbsd-a84ef30b740254fa7072c48d98f6d182dfe0b8d2.tar.xz
wireguard-openbsd-a84ef30b740254fa7072c48d98f6d182dfe0b8d2.zip
this should really only be in one file.
-rw-r--r--usr.sbin/dhcpd/dhcpd.c3
-rw-r--r--usr.sbin/dhcpd/sync.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.c b/usr.sbin/dhcpd/dhcpd.c
index 163cdb59035..79f2f514776 100644
--- a/usr.sbin/dhcpd/dhcpd.c
+++ b/usr.sbin/dhcpd/dhcpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.c,v 1.35 2008/05/07 12:19:20 beck Exp $ */
+/* $OpenBSD: dhcpd.c,v 1.36 2008/05/08 07:28:08 beck Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@ -60,7 +60,6 @@ int pfpipe[2];
int gotpipe = 0;
int syncrecv;
int syncsend;
-int syncfd = -1;
pid_t pfproc_pid = -1;
u_short sync_port;
char *path_dhcpd_conf = _PATH_DHCPD_CONF;
diff --git a/usr.sbin/dhcpd/sync.c b/usr.sbin/dhcpd/sync.c
index 38155d70de4..da33953cd47 100644
--- a/usr.sbin/dhcpd/sync.c
+++ b/usr.sbin/dhcpd/sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sync.c,v 1.2 2008/05/08 05:38:26 beck Exp $ */
+/* $OpenBSD: sync.c,v 1.3 2008/05/08 07:28:08 beck Exp $ */
/*
* Copyright (c) 2008 Bob Beck <beck@openbsd.org>
@@ -52,7 +52,7 @@
int sync_debug;
u_int32_t sync_counter;
-int syncfd;
+int syncfd = -1;
int sendmcast;
struct sockaddr_in sync_in;