Branch: Tag:

2000-07-07

2000-07-07 00:00:52 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix (I hope)

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.44

485: Inside #if __NT__
     #if __NT__    domain=get_tcpip_param("Domain"); -  nameservers = get_tcpip_param("NameServer") / " "; -  domains=get_tcpip_param("SearchList") / " "- ({""}); +  nameservers = replace(get_tcpip_param("NameServer"),","," ") / " "; +  nameservers-=({""}); +  domains=rreplace(get_tcpip_param("SearchList"),","," ") / " "; +  domains- =({""});   #else    string resolv_conf;    foreach(({"/etc/resolv.conf", "/amitcp/db/resolv.conf"}), string resolv_loc)