diff --git a/src/driver/eth/bootp.c b/src/driver/eth/bootp.c
index 6a360f08608bfc337e7ebd7b848a1fb2ec0f1435..bce01327dddd39959b09dc0ad82661140c0fa79b 100644 (file)
--- a/src/driver/eth/bootp.c
+++ b/src/driver/eth/bootp.c
if (netmcb.net_device.use_bootp_server_ip == TRUE)
netmcb.net_device.server_ip = serverIP;
- netmcb.net_device.net_mask = htonl(subnetmask);
+ netmcb.net_device.net_mask = subnetmask;
+
ip_add_route (FLG_RT_NETWORK, netmcb.net_device.ip_address, netmcb.net_device.net_mask, 0);
if (netmcb.net_device.use_bootp_file_name == TRUE)