CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2015/03/17 06:54:26

Modified files:
        usr.sbin/bind/lib/lwres: lwconfig.c 

Log message:
Initialize nameservers ports along with nameservers addresses.

Missing initialization, as hinted by lwres_conf_clear().  Not present
in recent bind versions (the code has changed since).
This fixes an erratic behaviour when no (valid) nameserver is configured
in resolv.conf (dig / nslookup send requests to 127.0.0.1:48830).

Problem reported by Pawel S. Veselov who also provided an alternative diff.
ok crickets@

Reply via email to