Commit ced3db1b authored by Wesley W. Terpstra's avatar Wesley W. Terpstra Committed by Alessandro Rubini

ipv4: on LM32 reset, needIP needs to go high again

parent c9ac7bc2
......@@ -40,6 +40,9 @@ unsigned int ipv4_checksum(unsigned short *buf, int shorts)
void ipv4_init(const char *if_name)
{
wr_sockaddr_t saddr;
/* Reset => need a fresh IP */
needIP = 1;
/* Configure socket filter */
memset(&saddr, 0, sizeof(saddr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment