summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2008-05-08 07:28:09 +0000
committerBob Beck <beck@cvs.openbsd.org>2008-05-08 07:28:09 +0000
commit2af26ed6b38857efbf0b9b7ed68b0fee681fe3b6 (patch)
tree012359bbee7c0bf8bcaeb74e9ed982254ad0b9da /usr.sbin/dhcpd
parent739179bad48a7cc1bb0b6d01f966bd7d86a97a71 (diff)
this should really only be in one file.
Diffstat (limited to 'usr.sbin/dhcpd')
-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;