summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay/dhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcrelay/dhcpd.h')
-rw-r--r--usr.sbin/dhcrelay/dhcpd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/dhcrelay/dhcpd.h b/usr.sbin/dhcrelay/dhcpd.h
index 332dfb33a14..c1d6917460b 100644
--- a/usr.sbin/dhcrelay/dhcpd.h
+++ b/usr.sbin/dhcrelay/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.11 2007/01/04 19:12:41 stevesk Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.12 2009/09/03 11:56:49 reyk Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -150,7 +150,8 @@ ssize_t receive_packet(struct interface_info *, unsigned char *, size_t,
/* dispatch.c */
extern void (*bootp_packet_handler)(struct interface_info *,
- struct dhcp_packet *, int, unsigned int, struct iaddr, struct hardware *);
+ struct dhcp_packet *, int, unsigned int, struct iaddr,
+ struct hardware *);
void discover_interfaces(struct interface_info *);
void dispatch(void);
void got_one(struct protocol *);
@@ -170,6 +171,7 @@ ssize_t decode_udp_ip_header(struct interface_info *, unsigned char *,
/* dhcrelay.c */
extern u_int16_t server_port;
extern u_int16_t client_port;
+extern int server_fd;
/* crap */
extern time_t cur_time;