diff options
author | krw <krw@openbsd.org> | 2016-08-05 14:02:23 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2016-08-05 14:02:23 +0000 |
commit | 94bf53e6bc0173179c29ffa553cab2f2f9e0534f (patch) | |
tree | 526502621bb9d8fada3888d4ce76a8524dba71a3 /usr.sbin/dhcpd/dhcpd.h | |
parent | All four arguments can be omitted by specifying a dash. (diff) | |
download | wireguard-openbsd-94bf53e6bc0173179c29ffa553cab2f2f9e0534f.tar.xz wireguard-openbsd-94bf53e6bc0173179c29ffa553cab2f2f9e0534f.zip |
Don't leak the option data of non-DHCPINFORM messages received on
the udp socket.
Found by David Carlier.
ok yasuoka@
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.h')
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.h b/usr.sbin/dhcpd/dhcpd.h index 4cc611d4283..28a53741a9b 100644 --- a/usr.sbin/dhcpd/dhcpd.h +++ b/usr.sbin/dhcpd/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.53 2016/02/06 23:50:10 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.54 2016/08/05 14:02:23 krw Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 @@ -532,7 +532,7 @@ int tree_evaluate(struct tree_cache *); /* dhcp.c */ extern int outstanding_pings; -void dhcp(struct packet *); +void dhcp(struct packet *, int); void dhcpdiscover(struct packet *); void dhcprequest(struct packet *); void dhcprelease(struct packet *); |