summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/leases.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 10:23:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 10:23:55 +0200
commit990a617edfd9040594c0889d2dd23eb7ef91c695 (patch)
tree25a41246927426fa64ffb10217332bc065df8887 /networking/udhcp/leases.c
parent1d924f59b1854e9638c63a743642e63c1bef38b9 (diff)
udhcp: rename giaddr to gateway_nip and server to server_nip
"nip" stands for "IP in network order" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/leases.c')
-rw-r--r--networking/udhcp/leases.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c
index 040126fe8..403a8bca6 100644
--- a/networking/udhcp/leases.c
+++ b/networking/udhcp/leases.c
@@ -128,7 +128,7 @@ static int nobody_responds_to_arp(uint32_t addr, const uint8_t *safe_mac)
int r;
r = arpping(addr, safe_mac,
- server_config.server, server_config.arp,
+ server_config.server_nip, server_config.arp,
server_config.interface);
if (r)
return r;