[En-Nut-Discussion] Gateway Problems
SK2209
steve at planetcontrols.com.au
Wed Apr 5 07:40:31 CEST 2006
Hey All
I am having a problem adding a gateway address when not using DHCP.
I use NutIpRouteAdd( 0, 0, gateway, &DEV_ETHER)
It returns 0 indicating it has worked but when i check the gateway address
using
printf("\n IP Gateway: %s", inet_ntoa(confnet.cdn_gateway));
it prints only 0.0.0.0.
If i use DHCP the gateway address prints as expected.
Does anyone know why this might not be working for me?
Regards
Steve
--
View this message in context: http://www.nabble.com/Gateway-Problems-t1397492.html#a3758444
Sent from the MicroControllers - Ethernut forum at Nabble.com.
More information about the En-Nut-Discussion
mailing list