From 47f2d7ef7d4dbeea19a55f9d73ef826f9d06650f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 16 Jun 2009 10:20:27 +0200 Subject: udhcpd: don't fail ARP check if returned MAC matches client's one Also, do not unicast replies to yiaddr. Signed-off-by: Denys Vlasenko --- networking/udhcp/dhcpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp/dhcpd.h') diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 9667c61e8..4b5fcc00f 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h @@ -99,7 +99,7 @@ struct dhcpOfferedAddr *add_lease( int lease_expired(struct dhcpOfferedAddr *lease) FAST_FUNC; struct dhcpOfferedAddr *find_lease_by_chaddr(const uint8_t *chaddr) FAST_FUNC; struct dhcpOfferedAddr *find_lease_by_yiaddr(uint32_t yiaddr) FAST_FUNC; -uint32_t find_free_or_expired_address(void) FAST_FUNC; +uint32_t find_free_or_expired_address(const uint8_t *chaddr) FAST_FUNC; /*** static_leases.h ***/ -- cgit v1.2.3