Bug #3650
IP aliases are configured even when an interface is disabled
100%
Description
IP aliases with a parent interface that's disabled under Interfaces>[interface] are still added to the interface, where they should be skipped. That can cause a variety of issues depending on the circumstance because it brings up an interface that shouldn't be active at all.
Associated revisions
Delete all ip aliases when interface is disabled, it should fix #3650
History
#1
Updated by Renato Botelho almost 7 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 672e28f3d6ff02c21f9e771656fc984531a5782f.
#2
Updated by Renato Botelho almost 7 years ago
Applied in changeset 8d6c5f6621417861cbf656ff867e03da3cef7926.
#3
Updated by Trond Vindenes over 6 years ago
Tested on "2.2-ALPHA (amd64) built on Thu Aug 14 06:56:40 CDT 2014"
1. Added some IP aliases to an OPT-interface.
2. Executed ifconfig on the shell, all aliases was visible on the interface.
3. Disabled the interface, now ifconfig doesn't even show the interface.
Seems resolved.
#4
Updated by Renato Botelho over 6 years ago
- Status changed from Feedback to Resolved
Delete all ip aliases when interface is disabled, it should fix #3650