diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-26 09:40:44 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-26 09:40:44 +0100 |
commit | 2cfbb51731eb24c80bd4d697e370dde4972400a5 (patch) | |
tree | 403edf4dc042059f56ca97485a71bc89cb51de20 /src/op_mode/zone_policy.py | |
parent | 772d05156aaa75c904fe340cfce024da00f187f4 (diff) | |
download | vyos-1x-2cfbb51731eb24c80bd4d697e370dde4972400a5.tar.gz vyos-1x-2cfbb51731eb24c80bd4d697e370dde4972400a5.zip |
vyos.validate: T4321: make is_addr_assigned() VRF aware
Commit 1bfe09f9 ("vyos.validate: T4321: make is_intf_addr_assigned() VRF aware")
added VRF support for an interface bound function. As an interface can only be
bound to one VRF check makes less sense.
This commit moves the VRF awareness from is_intf_addr_assigned() to
is_addr_assigned() so we check the VRF assignment even prior of calling
is_intf_addr_assigned() and fail fast.
Diffstat (limited to 'src/op_mode/zone_policy.py')
0 files changed, 0 insertions, 0 deletions