Changeset 204 for branches/samba-3.2.x/source/nmbd/nmbd_subnetdb.c
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/nmbd/nmbd_subnetdb.c
r133 r204 196 196 { 197 197 /* We only count IPv4 interfaces whilst we're waiting. */ 198 int num_interfaces = iface_count_v4();198 int num_interfaces; 199 199 int i; 200 200 struct in_addr unicast_ip, ipzero; … … 202 202 try_interfaces_again: 203 203 204 if (iface_count_v4() == 0) { 205 DEBUG(0,("create_subnets: No local interfaces !\n")); 204 /* Only count IPv4, non-loopback interfaces. */ 205 if (iface_count_v4_nl() == 0) { 206 DEBUG(0,("create_subnets: No local IPv4 non-loopback interfaces !\n")); 206 207 DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n")); 207 208 } 208 209 209 /* We only count IPv4 interfaces here. */210 while (iface_count_v4 () == 0) {210 /* We only count IPv4, non-loopback interfaces here. */ 211 while (iface_count_v4_nl() == 0) { 211 212 void (*saved_handler)(int); 212 213
Note:
See TracChangeset
for help on using the changeset viewer.