[En-Nut-Discussion] What´s up with confnet?

Thiago A. Corrêa thiago.correa at gmail.com
Fri Oct 14 22:28:32 CEST 2005


Hi,

   I can´t figure out the global variable confnet. It´s not
initialized right after I do a call to NutNetIfConfig. Should I really
initialize it myself? Even when I do initialize myself, another thread
who needs the current IP address ( a CGI to change network settings )
get it as 255.255.255 from:     fprintf_P(stream,	html_body,
inet_ntoa( confnet.cdn_cip_addr ), inet_ntoa( confnet.cdn_ip_mask ) );


   Am I missing something? Or could this be an issue with fprintf?
Size limits perhaps?

Regards,
    Thiago A. Corrêa



More information about the En-Nut-Discussion mailing list