[hopem,r=]

Cloese bug: 1379324
This commit is contained in:
Edward Hope-Morley 2014-10-09 15:00:36 +01:00
parent 76a0313d23
commit 0abce182b6

View File

@ -180,7 +180,7 @@ class ExternalPortContext(OSContextGenerator):
hwaddr = get_nic_hwaddr(nic)
hwaddr_to_nic[hwaddr] = nic
addresses = get_ipv4_addr(nic, fatal=False) + \
get_ipv6_addr(nic, fatal=False)
get_ipv6_addr(iface=nic, fatal=False)
hwaddr_to_ip[hwaddr] = addresses
mac_regex = re.compile(r'([0-9A-F]{2}[:-]){5}([0-9A-F]{2})', re.I)
for entry in config('ext-port').split():