diff options
author | Denys Vlasenko | 2009-06-16 10:25:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-16 10:25:35 +0200 |
commit | 56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (patch) | |
tree | 2f972e9026ee995e1ebe146b05e608af3b2785ee /networking/udhcp/serverpacket.c | |
parent | 990a617edfd9040594c0889d2dd23eb7ef91c695 (diff) | |
download | busybox-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.zip busybox-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.tar.gz |
udhcp: rename sprintip to sprint_nip, siaddr to siaddr_nip
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/serverpacket.c')
-rw-r--r-- | networking/udhcp/serverpacket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c index 55ed4a8..294a6a6 100644 --- a/networking/udhcp/serverpacket.c +++ b/networking/udhcp/serverpacket.c @@ -99,7 +99,7 @@ static void init_packet(struct dhcpMessage *packet, struct dhcpMessage *oldpacke /* add in the bootp options */ static void add_bootp_options(struct dhcpMessage *packet) { - packet->siaddr = server_config.siaddr; + packet->siaddr_nip = server_config.siaddr_nip; if (server_config.sname) strncpy((char*)packet->sname, server_config.sname, sizeof(packet->sname) - 1); if (server_config.boot_file) |