Branch: Tag:

2010-12-26

2010-12-26 12:55:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols.DNS: Protected some more LFUNs.

912:       array(string) nameservers = ({});    array domains = ({}); -  void create(void|string|array(string) server, void|int|array(string) domain) +  protected void create(void|string|array(string) server, +  void|int|array(string) domain)    {    if(!server)    {
1349:    return ret;    }    +  //!    array(string) get_mx(string host)    {    mapping m;
1380:   #define GIVE_UP_DELAY (RETRIES * RETRY_DELAY + REMOVE_DELAY)*2      // FIXME: Randomized source port! + //!   class async_client   {    inherit client;
1562:    }, callback, @args);    }    -  void create(void|string|array(string) server, void|string|array(string) domain) +  //! +  protected void create(void|string|array(string) server, +  void|string|array(string) domain)    {    if(!udp::bind(0))    error( "DNS: failed to bind a port.\n" );