lwip-devel
[Top][All Lists]
Advanced

[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: Robert Sprowson
Subject: [lwip-devel] [patch #6786] task #7507: Hook to support static hosts file in DNS lookup
Date: Sat, 09 May 2009 09:29:21 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

Follow-up Comment #12, patch #6786 (project lwip):

Nice! So now we support
 a) runtime maintained static DNS held in RAM
 b) compile time assigned static DNS anywhere in mapped memory
 c) runtime maintained static DNS held off chip

I've just tested (c) and it works just fine, reading through (a) and (b)
looks sane too.

One minor addition I would suggest: currently there's no means of defining
the prototype for the callout function so the compiler warns about its
implicit declaration.

I added to line 79
 #include "lwip/sys.h"
since that includes sys_arch, which as discussed earlier is the sensible
place to put the callout function.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6786>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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