summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-14 21:06:38 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-10-15 03:44:42 +0300
commit31eab818f69a3b4d47b9819e6c10f24c14e134b2 (patch)
tree477110582b8de35a3a44ec0cd9a029fd20ae3cc0 /lib/if.h
parent4ff97453d0c5064da279c76e0602fdaf75f2a675 (diff)
zebra: fix "show interface IFNAME" for netns
With netns VRF backend, we may have multiple interfaces with the same name. Currently, the function output is not deterministic in this case, it returns the first interface that it finds in the list. Be more explicit and tell the user that we need the VRF name. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/if.h')
0 files changed, 0 insertions, 0 deletions