[Frugalware-darcs] setup-current: netconfig: step3: setup the gateway

VMiklos vmiklos at frugalware.org
Thu Mar 16 18:09:31 CET 2006


[netconfig: step3: setup the gateway
VMiklos <vmiklos at frugalware.org>**20060118012444] {
hunk ./src/config/netconfig.c 319
+			}
+			// step3: setup the gateway
+			if(!dhcp && strlen(iface->gateway))
+			{
+				ptr = g_strdup_printf("route add %s", iface->gateway);
+				nc_system(ptr);
+				free(ptr);
}


More information about the Frugalware-darcs mailing list