Ignore:
Timestamp:
May 20, 2009, 6:46:53 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.4

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  
    294294                BlockSignals(false, SIGTERM);
    295295
    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) {
    298298                        sleep(5);
    299299                        load_interfaces();
  • branches/samba-3.2.x/source/nmbd/nmbd_processlogon.c

    r133 r204  
    400400                                        char *q_orig = q;
    401401                                        int str_offset;
    402                                         char *saveptr;
     402                                        char *saveptr = NULL;
    403403
    404404                                        domain = get_mydnsdomname(talloc_tos());
  • branches/samba-3.2.x/source/nmbd/nmbd_subnetdb.c

    r133 r204  
    196196{
    197197        /* We only count IPv4 interfaces whilst we're waiting. */
    198         int num_interfaces = iface_count_v4();
     198        int num_interfaces;
    199199        int i;
    200200        struct in_addr unicast_ip, ipzero;
     
    202202  try_interfaces_again:
    203203
    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"));
    206207                DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n"));
    207208        }
    208209
    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) {
    211212                void (*saved_handler)(int);
    212213
Note: See TracChangeset for help on using the changeset viewer.