mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
83cf98f113
When nmbd is acting as WINS, it picks the first interface's IP as WINS server's IP. If the first interface's IP is zero, we will just quit (even though we might have other interfaces with valid IPs). This patch makes nmbd look at all interfaces and pick the first interface with a valid IP as the WINS server's IP.