]> git.proxmox.com Git - mirror_ifupdown2.git/commit - ifupdown2/addons/mstpctl.py
addons: mstpctl: call disable_ipv6 only if mstpctl_ports is specified
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 8 May 2016 02:32:23 +0000 (19:32 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 8 May 2016 02:32:23 +0000 (19:32 -0700)
commitd5c0f7036659d1a458100ebb3b081aac1ba7edd2
tree3395110f9a87dfb8cc56ab12975274e65eed14b7
parentf57b980458d3dae6a7a3ca0d5c9a6a7fae327ce5
addons: mstpctl: call disable_ipv6 only if mstpctl_ports is specified

Ticket:
Reviewed By: trivial
Testing Done: tested sanity and bridge bringup and reload

bridge module already disables ipv6 on ports when bridge-ports is
specified. Making this change because i saw redundant calls to
disable_ipv6 on bridge ports by modules bridge and mstpctl
when bridge-ports is specified. It is slowing down ifreload

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
addons/mstpctl.py