summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2017-06-29 23:42:21 -0500
committerGitHub <noreply@github.com>2017-06-29 23:42:21 -0500
commitfd576f61bc69eb303eb7400f1234a4253bce9087 (patch)
tree8d2cd3b410018e6022a3de361d1a90dde3255454 /zebra/interface.c
parentefd934cab078c715c5f647c19cebd8f85463b753 (diff)
parent16895dbf7314117dc0f5c909de4764fca4a539d2 (diff)
Merge pull request #767 from donaldsharp/if_update
bgpd, lib, zebra: Fix if_update function to represent what it does
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index a8ac405e36..b8426c6890 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -737,7 +737,7 @@ if_handle_vrf_change (struct interface *ifp, vrf_id_t vrf_id)
zebra_interface_vrf_update_del (ifp, vrf_id);
/* update VRF */
- if_update (ifp, ifp->name, strlen (ifp->name), vrf_id);
+ if_update_to_new_vrf (ifp, vrf_id);
/* Send out notification on interface VRF change. */
/* This is to issue an ADD, if needed. */