diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-11-11 00:49:06 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-11-11 00:49:06 +0000 |
commit | 81c6472d4206168dd2105f38623f65bb5e2a081a (patch) | |
tree | 32ba8327365889c60c3e347b7ac8dec7b666c84c /sbin/dhclient/dhcpd.h | |
parent | af6003264b2f4abe70f4f48cba8837e254a00065 (diff) |
As get_hw_address() is called early and unconditionally sets
VALID_LLADDR, there is longer much point to VALID_LLADDR. Nuke it.
Just check for lladdr changes when LINK_STATUS_IS_UP().
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index 46bf2a22587..f6a17a0c6da 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.257 2018/11/02 16:15:55 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.258 2018/11/11 00:49:05 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -129,8 +129,7 @@ struct interface_info { int link_state; int rdomain; int flags; -#define IFI_VALID_LLADDR 0x01 -#define IFI_IN_CHARGE 0x02 +#define IFI_IN_CHARGE 0x01 struct dhcp_packet recv_packet; struct dhcp_packet sent_packet; int sent_packet_length; |