summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-02-11 14:55:23 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-06-11 17:10:47 +0200
commite9c199a6c12ad8359d1792462545595d4679d20b (patch)
tree4175e4375b75d7c0a50863da4194e01a5a034f26 /lib/if.h
parentospf, ospf6d, zebra, lib: change if_get_by_name prototype with vrf (diff)
downloadfrr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.h b/lib/if.h
index 5751c05c1..196c77c78 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -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);