summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcpd/dispatch.c')
-rw-r--r--usr.sbin/dhcpd/dispatch.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/dhcpd/dispatch.c b/usr.sbin/dhcpd/dispatch.c
index 4285a1f3d39..1d371e3c153 100644
--- a/usr.sbin/dhcpd/dispatch.c
+++ b/usr.sbin/dhcpd/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.21 2006/05/30 23:43:46 ckuethe Exp $ */
+/* $OpenBSD: dispatch.c,v 1.22 2006/12/12 19:38:55 stevesk Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
@@ -44,10 +44,6 @@
#include <poll.h>
#include <net/if_media.h>
-
-/* Most boxes has less than 16 interfaces, so this might be a good guess. */
-#define INITIAL_IFREQ_COUNT 16
-
struct interface_info *interfaces;
struct protocol *protocols;
struct dhcpd_timeout *timeouts;
@@ -74,9 +70,6 @@ discover_interfaces(void)
int ir = 0;
struct ifreq *tif;
struct ifaddrs *ifap, *ifa;
-#ifdef ALIAS_NAMES_PERMUTED
- char *s;
-#endif
if (getifaddrs(&ifap) != 0)
error("getifaddrs failed");