diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-02-11 14:55:23 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-11 17:10:47 +0200 |
commit | e9c199a6c12ad8359d1792462545595d4679d20b (patch) | |
tree | 4175e4375b75d7c0a50863da4194e01a5a034f26 /lib/if.h | |
parent | ospf, ospf6d, zebra, lib: change if_get_by_name prototype with vrf (diff) | |
download | frr-e9c199a6c12ad8359d1792462545595d4679d20b.tar.xz frr-e9c199a6c12ad8359d1792462545595d4679d20b.zip |
lib, ospfd, pimd, zebra: change if_create() api with vrf
if_create() takes as input a vrf poiter instead of the vrf_id parameter.
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
@@ -480,7 +480,7 @@ extern int if_cmp_name_func(const char *p1, const char *p2); * else think before you use VRF_UNKNOWN */ extern void if_update_to_new_vrf(struct interface *, vrf_id_t vrf_id); -extern struct interface *if_create(const char *name, vrf_id_t vrf_id); +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, vrf_id_t vrf_id); |