[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #6786] task #7507: Hook to support static hosts file
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #6786] task #7507: Hook to support static hosts file in DNS lookup |
Date: |
Wed, 22 Apr 2009 07:25:25 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 |
Follow-up Comment #8, patch #6786 (project lwip):
> I guess it could be done by just defining DNS_LOCAL_HOSTLIST_INIT to point
to an array of structs local_hostlist_entry in FLASH...?
What I meant with that is that that you could essentially point the list to
your EEPROM. I just discovered my current code does not handle this correctly
(tries to write-access the list), but I'll change that. It should work exactly
like you want, I'll make sure I'll test it that way.
As to the 2 functions: they both remove all matching entries and return the
number of removed entries. So you can, for example, either remove all
127.0.0.1-entries or all addresses for 'localhost'.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6786>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/