summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-02-19 21:08:43 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-02-19 21:11:37 +0100
commitaec0d756677e52e86ef9b22fe2d85bbe8f0039e5 (patch)
tree960bb8e8e1aa69d564c3baa49f4b8beb1de746c3 /eigrpd
parentlib, rip, ripng, eigrp: rework if_rmap context (diff)
downloadfrr-aec0d756677e52e86ef9b22fe2d85bbe8f0039e5.tar.xz
frr-aec0d756677e52e86ef9b22fe2d85bbe8f0039e5.zip
eigrp, rip, ripng, lib: unlink if_rmap from vrf
an interface rmap context can be created from a custom name string, instead of a vrf. This ability permits to handle several instances of interface route map in the same vrf. The naming convention will be transparent on what the name is for in the daemon code. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrpd.c b/eigrpd/eigrpd.c
index 4f0a5d1b0..93f8b6f90 100644
--- a/eigrpd/eigrpd.c
+++ b/eigrpd/eigrpd.c
@@ -209,7 +209,7 @@ static struct eigrp *eigrp_new(const char *AS)
/*
eigrp->if_rmap_ctx = if_rmap_ctx_create(
- vrf_lookup_by_id(VRF_DEFAULT));
+ VRF_DEFAULT_NAME);
if_rmap_hook_add (eigrp_if_rmap_update);
if_rmap_hook_delete (eigrp_if_rmap_update);
*/