HomeVyOS Platform

vxlan: T6401: Avoid calling get_vxlan_vni_filter() unless we need it

Description

vxlan: T6401: Avoid calling get_vxlan_vni_filter() unless we need it

bridge vni show dev vxlanX will exit with an error if no VNI filters
are installed, but the getter is used even when we haven't installed any.

This fix avoids fetching a list of VNI filters unless we know we've
created some.

Details

Provenance
Andrew ToppAuthored on Jun 1 2024, 1:42 PM
Parents
rVYOSONEXd150067ef254: Merge pull request #3570 from talmakion/bugfix/T6157
Branches
Loading...
Tags
Loading...