lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Wrong interface when released DHCP-interface available


From: Leon Woestenberg
Subject: Re: [lwip-users] Wrong interface when released DHCP-interface available
Date: Wed, 01 Dec 2004 22:48:55 +0100
User-agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)

Hello Robert,

Jelinek Robert ETR.ETE3 wrote:

I am using lwip with two interfaces: the first one is the ethernet interface, 
the second one is the loopback interface.

If the ethernet interface is not initialized by DHCP (at the startup of my 
hardware) oder DHCP releases it bindings, the IP-Netmask is set to 0.0.0.0. 
Then I get a problem: Every traffic to the loopback interface is feed into the 
ethernet interface, because ip_addr_maskcmp inside of ip_route always returns 
true for the ethernet interface in that case. (it works, if I use 
255.255.255.255 for the netmask at the bootup, but it does not solve the 
problem in coorperation with dhcp_release.
Could you please be more specific and propose a patch for maskcmp (which is now called ip_addr_netcmp() BTW).

I have too little time to look over this, your help would be very appreciated.

With kind regards,

Leon Woestenberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]