]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: bridge: don't warn several times for duplicate bridge-ports in stanza
authorJulien Fortin <julien@cumulusnetworks.com>
Thu, 1 Dec 2016 06:31:52 +0000 (07:31 +0100)
committerJulien Fortin <julien@cumulusnetworks.com>
Thu, 1 Dec 2016 06:31:52 +0000 (07:31 +0100)
commit4cbbf42e702ecc827b0db9da56519cc6133014f8
tree197ce15c8d03f0bcb7572b4c690f8e43ae7a293c
parentb62a7e7375198a6ec51bdc20a2529c2c0bd0feb2
addons: bridge: don't warn several times for duplicate bridge-ports in stanza

auto br0
iface br0
      bridge-ports swp1 swp2
      bridge-ports swp3 swp4

running ifquery in this configuration gaves us 2 identical warnings:

warning: br0: ignoring duplicate bridge-ports lines: ['swp3 swp4']
warning: br0: ignoring duplicate bridge-ports lines: ['swp3 swp4']

when running ifreload -a we still see 2 warnings, this will need to be looked
at later.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
addons/bridge.py