This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DHCP and routing patch suggestion


Hi,
Working with eCos we met the following problem.
Calling cyg_route_reinit() from both bring_half_up() and 
do_dhcp_down_net() in packages/net/common/current/dhcp_prot.c erases the 
whole routing table which is not what we might want (imagine the situation 
when there is no DHCP server in the network, but there are two threads 
talking via a socket on lo0). 
We think that the provided patch fixes this issue by clearing only those 
routing table entries that belongs to the interface we run dhcp on.
Regards,
-- 
Dmitriy.

Attachment: route_patch.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]