Show More
@@ -101,7 +101,7 b' def _load_ips_ifconfig():' | |||||
101 | for line in lines: |
|
101 | for line in lines: | |
102 | blocks = line.lower().split() |
|
102 | blocks = line.lower().split() | |
103 | if (len(blocks) >= 2) and (blocks[0] == 'inet'): |
|
103 | if (len(blocks) >= 2) and (blocks[0] == 'inet'): | |
104 |
if |
|
104 | if blocks[1].startswith("addr:"): | |
105 | addrs.append(blocks[1].split(":")[1]) |
|
105 | addrs.append(blocks[1].split(":")[1]) | |
106 | else: |
|
106 | else: | |
107 | addrs.append(blocks[1]) |
|
107 | addrs.append(blocks[1]) |
General Comments 0
You need to be logged in to leave comments.
Login now