lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #50325] DNS local host list exported functions lack ve


From: Konstantin
Subject: [lwip-devel] [bug #50325] DNS local host list exported functions lack versatility
Date: Thu, 16 Feb 2017 05:11:52 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #1, bug #50325 (project lwip):

Sorry, for some reason the form posted without any contents except header,
with no edit possibility found I post it as a following comment.

DNS local host list seems to narrow to Add and Remove exported functions,
which neither allow for TTL implementation (which is not so important in my
case) nor give navigation and read options (which is much regrettable).
Moreover, any referred functions and variables in "dns.c" are for some reason
declared as "static".

This not only hinders keeping track of what was dynamically added there, to
avoid duplicates. For a system with other name-IP pair source, keeping track
of them is a problem, but it is further complicated if dynamic mechanism is
already somewhere inside compiled code but hidden by static declarations,
which demands to either write code and keep space for another list or edit
"dns.c" in order to at least remove "static" modifier.

Suggest removing "static" modifier for dns_localhost_lookup, or expand the
dns_localhost interface in some other way it becomes more of use for something
other than just set constants.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?50325>

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




reply via email to

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