lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] netif_set_ipaddr


From: Jim Gibbons
Subject: [lwip-users] netif_set_ipaddr
Date: Tue, 26 Jul 2005 12:20:08 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

I haven't checked the CVS head, but in version 1.1.0, there seems to be a problem in the processing of the listening pcb's.

There is a loop that tries to correct these pcb's if their IP address has changed.  The problem is that there is no check to see if the listening pcb doesn't care about the address.  Normally, this will cause no problems.  It takes some pretty elaborate circumstances (involving DHCP on two or more interfaces and listening before the DHCP address is acquired) for this to be an issue.  Nevertheless, I think it is wrong in principal to change a pcb from listening on any IP address to listening on a specific one.

Have I missed something?

--
Jim Gibbons
address@hidden
Gibbons and Associates, Inc.
TEL: (408) 984-1441
900 Lafayette, Suite 704, Santa Clara, CA
FAX: (408) 247-6395



reply via email to

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