diff options
author | Scott Moser <smoser@ubuntu.com> | 2017-05-19 13:12:54 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-05-22 12:10:22 -0400 |
commit | 2c0655feb9a194b5fbdfe90a5f847c16f1e15409 (patch) | |
tree | 8784af3608dc15580a1f4184cc51dcc1a7f04fab /tools | |
parent | 3d97b29bd71b9de5fb14d8bd320c20545b88a81b (diff) | |
download | vyos-cloud-init-2c0655feb9a194b5fbdfe90a5f847c16f1e15409.tar.gz vyos-cloud-init-2c0655feb9a194b5fbdfe90a5f847c16f1e15409.zip |
Fix get_interfaces_by_mac for empty macs
Some interfaces (greptap0 in the bug) have a mac address of
'00:00:00:00:00:00'. That was causing a duplicate mac detection
as the 'lo' device also has that mac.
The change here is to just ignore macs other than 'lo' that have that.
LP: #1692028
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions