Changeset 204 for branches/samba-3.2.x/source/nmbd
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/nmbd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/nmbd/nmbd.c
r133 r204 294 294 BlockSignals(false, SIGTERM); 295 295 296 /* We only count IPv4 interfaces here. */297 while (iface_count_v4 () == 0 && !got_sig_term) {296 /* We only count IPv4, non-loopback interfaces here. */ 297 while (iface_count_v4_nl() == 0 && !got_sig_term) { 298 298 sleep(5); 299 299 load_interfaces(); -
branches/samba-3.2.x/source/nmbd/nmbd_processlogon.c
r133 r204 400 400 char *q_orig = q; 401 401 int str_offset; 402 char *saveptr ;402 char *saveptr = NULL; 403 403 404 404 domain = get_mydnsdomname(talloc_tos()); -
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.