Ignore:
Timestamp:
Sep 30, 2008, 7:14:08 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/interface.c

    r22 r158  
    302302
    303303/****************************************************************************
     304  how many non-loopback interfaces do we have
     305  **************************************************************************/
     306int iface_count_nl(void)
     307{
     308        int ret = 0;
     309        struct interface *i;
     310
     311        for (i=local_interfaces;i;i=i->next) {
     312                if (ip_equal(i->ip, loopback_ip)) {
     313                        continue;
     314                }
     315                ret++;
     316        }
     317        return ret;
     318}
     319
     320/****************************************************************************
    304321  return the Nth interface
    305322  **************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.