diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-02-11 15:03:19 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-12 08:37:58 +0200 |
commit | da85f5e03899ee53e235ef5eb6cdacc1ae85de86 (patch) | |
tree | af9824ef538cb44e0f00be9425d48d6155a5130e /lib/if.h | |
parent | zebra, ifp: on netlink discovery, anticipate the vrf creation (diff) | |
download | frr-da85f5e03899ee53e235ef5eb6cdacc1ae85de86.tar.xz frr-da85f5e03899ee53e235ef5eb6cdacc1ae85de86.zip |
lib, bgpd, ospfd, pimd, zebra, rip, ripng, bfd: change if_update_to_new_vrf() api
vrf_id parameter is replaced with struct vrf * parameter. It is
needed to create vrf structure before entering in the fuction.
an error is generated in case the vrf parameter is missing.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -479,7 +479,7 @@ extern int if_cmp_name_func(const char *p1, const char *p2); * This is useful for vrf route-leaking. So more than anything * else think before you use VRF_UNKNOWN */ -extern void if_update_to_new_vrf(struct interface *, vrf_id_t vrf_id); +extern void if_update_to_new_vrf(struct interface *, struct vrf *vrf); extern struct interface *if_create(const char *name, struct vrf *vrf); extern struct interface *if_lookup_by_index(ifindex_t, vrf_id_t vrf_id); extern struct interface *if_lookup_exact_address(void *matchaddr, int family, |