code: def read_local_ifaddrs (self):
          
          if os.name != 'posix':
              # only POSIX is supported right now
              return []
          try:
              from linkcheck.network import IfConfig
          except ImportError:
              return []
          ifaddrs = []
          ifc = IfConfig()
          for iface in ifc.getInterfaceList(flags=IfConfig.IFF_UP):
              addr = ifc.getAddr(iface)
              if addr:
                  ifaddrs.append(addr)
          return ifaddrs
docs: IP addresses for all active interfaces.
          @return: list of IP addresses
          @rtype: list of strings