git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1867 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-10-26 11:07:15 +00:00
parent 290281974b
commit a57b7c0924

View file

@ -58,7 +58,6 @@ class IfConfig (object):
def getInterfaceList (self):
""" Get all interface names in a list
"""
# get interface list
buf = array.array('c', '\0' * 1024)
ifconf = struct.pack("iP", buf.buffer_info()[1], buf.buffer_info()[0])
result = self._fcntl(self.SIOCGIFCONF, ifconf)