]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip vrf: Fix reset to default VRF
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 15 Dec 2016 20:07:01 +0000 (12:07 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 21 Dec 2016 23:56:39 +0000 (15:56 -0800)
commit2917b4f41af5476d2bf913dbbef9128d9fbc6dc8
tree991e6cc42c6a2130a0fa82ed3f20fee81e751d0f
parentb5efa59763aaeea7174bfd2b29f98e71d25598c6
ip vrf: Fix reset to default VRF

Path in vrf_switch for "default" VRF is supposed to be MNT/vrf not
MNT/default. Also, default_vrf flag is redundant with ifindex. Remove
the flag in favor of ifindex != 0.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
ip/ipvrf.c