nmbd interface detection
nagendra modadugu
nagendra at CS.Stanford.EDU
Tue Jan 8 18:10:06 GMT 2002
This is code from load_interfaces(), lib/interface.c:209 :
for (i=0;i<total_probed;i++) {
if (probed_ifaces[i].netmask.s_addr != allones_ip.s_addr &&
probed_ifaces[i].ip.s_addr != loopback_ip.s_addr) {
add_interface(probed_ifaces[i].ip,
probed_ifaces[i].netmask);
}
}
This code causes ip addresses with netmask 255.255.255.255 to be ignored.
What is the reason behind this logic ? Thanks.
nagendra
More information about the samba-technical
mailing list