Fix broadcast address (Olaf Hering)

diff --git a/ipconfig/main.c b/ipconfig/main.c
index 96b7808..8845146 100644
--- a/ipconfig/main.c
+++ b/ipconfig/main.c
@@ -536,6 +536,8 @@
 			dev->ip_server = template->ip_server;
 		if (template->ip_gateway != INADDR_NONE)
 			dev->ip_gateway = template->ip_gateway;
+		if (template->ip_netmask != INADDR_NONE)
+			dev->ip_netmask = template->ip_netmask;
 		if (template->ip_nameserver[0] != INADDR_NONE)
 			dev->ip_nameserver[0] = template->ip_nameserver[0];
 		if (template->ip_nameserver[1] != INADDR_NONE)