summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-25 19:27:08 +0000
committerDenis Vlasenko2008-01-25 19:27:08 +0000
commitca9635b19dc66f37c322a61d8fcba5c753a526af (patch)
tree19a5362ce20288bb6f7778cfadd7c263c8136aa7 /networking/udhcp/dhcpc.c
parenta5549c961739fb0d354f3c41cb5fb0d64c8da4ec (diff)
downloadbusybox-ca9635b19dc66f37c322a61d8fcba5c753a526af.zip
busybox-ca9635b19dc66f37c322a61d8fcba5c753a526af.tar.gz
udhcpc: fix wrong options in decline and release packets
(Jonas Danielsson <jonas.danielsson at axis.com>)
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r--networking/udhcp/dhcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index d76a62c..e9b728a 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -523,7 +523,7 @@ int udhcpc_main(int argc, char **argv)
) {
bb_info_msg("offered address is in use "
"(got ARP reply), declining");
- send_decline(xid, server_addr);
+ send_decline(xid, server_addr, packet.yiaddr);
if (state != REQUESTING)
udhcp_run_script(NULL, "deconfig");