diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 12:04:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 12:04:23 +0200 |
commit | 26918dd28ef6f2c6380ed23b384ddc8e98a8ad81 (patch) | |
tree | 77c5bd48717b9dbfd683937e3f70fc902b7c7119 /networking/udhcp/leases.c | |
parent | cab3a0127c3e6b7fc4f794ba6abcb8e01492118e (diff) |
udhcp: rename server/client_config.arp to server_mac and client_mac
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/leases.c')
-rw-r--r-- | networking/udhcp/leases.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index c318856f5..291ae8053 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c @@ -117,7 +117,7 @@ struct dhcpOfferedAddr* FAST_FUNC find_lease_by_yiaddr(uint32_t yiaddr) } -/* check is an IP is taken, if it is, add it to the lease table */ +/* Check if the IP is taken; if it is, add it to the lease table */ static int nobody_responds_to_arp(uint32_t addr, const uint8_t *safe_mac) { /* 16 zero bytes */ @@ -128,7 +128,8 @@ static int nobody_responds_to_arp(uint32_t addr, const uint8_t *safe_mac) int r; r = arpping(addr, safe_mac, - server_config.server_nip, server_config.arp, + server_config.server_nip, + server_config.server_mac, server_config.interface); if (r) return r; |