diff options
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 55ed4a833..294a6a666 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 | |||
99 | /* add in the bootp options */ | 99 | /* add in the bootp options */ |
100 | static void add_bootp_options(struct dhcpMessage *packet) | 100 | static void add_bootp_options(struct dhcpMessage *packet) |
101 | { | 101 | { |
102 | packet->siaddr = server_config.siaddr; | 102 | packet->siaddr_nip = server_config.siaddr_nip; |
103 | if (server_config.sname) | 103 | if (server_config.sname) |
104 | strncpy((char*)packet->sname, server_config.sname, sizeof(packet->sname) - 1); | 104 | strncpy((char*)packet->sname, server_config.sname, sizeof(packet->sname) - 1); |
105 | if (server_config.boot_file) | 105 | if (server_config.boot_file) |