summaryrefslogtreecommitdiff
path: root/zebra/zebra_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2017-08-22 11:21:02 -0400
committerGitHub <noreply@github.com>2017-08-22 11:21:02 -0400
commitda010bd0118acda3a56cadb84ace02bc66cd1f3e (patch)
tree7ccf866391d122e6d844a67921c8317fdeb62044 /zebra/zebra_vty.c
parent3f543889568e7f267f6f6d1e919eeb31a21ee97f (diff)
parenta5fdb4c510dd61f0300f6ed6c1b6a7d33f85933b (diff)
Merge pull request #1024 from opensourcerouting/minor_fixes
Minor fixes
Diffstat (limited to 'zebra/zebra_vty.c')
-rw-r--r--zebra/zebra_vty.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index f01f037ed5..9f887e8401 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1705,16 +1705,14 @@ static int static_config(struct vty *vty, afi_t afi, safi_t safi,
inet_ntop(AF_INET,
&si->addr.ipv4, buf,
sizeof buf),
- ifindex2ifname(si->ifindex,
- si->vrf_id));
+ si->ifname);
break;
case STATIC_IPV6_GATEWAY_IFNAME:
vty_out(vty, " %s %s",
inet_ntop(AF_INET6,
&si->addr.ipv6, buf,
sizeof buf),
- ifindex2ifname(si->ifindex,
- si->vrf_id));
+ si->ifname);
break;
}