summaryrefslogtreecommitdiff
path: root/src/services/vyos-http-api-server
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-26 09:40:44 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-26 09:40:44 +0100
commit2cfbb51731eb24c80bd4d697e370dde4972400a5 (patch)
tree403edf4dc042059f56ca97485a71bc89cb51de20 /src/services/vyos-http-api-server
parent772d05156aaa75c904fe340cfce024da00f187f4 (diff)
downloadvyos-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/services/vyos-http-api-server')
0 files changed, 0 insertions, 0 deletions