From 1fde97f57d35389a2653b711563e6f82b6c85feb Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Mon, 17 Dec 2018 12:28:21 -0200 Subject: [PATCH] ripngd: fix route redistribution with route-maps This fix isn't necessary on master since ripngd is now using only DEFPY for configuration commands after the northbound conversion. Reported-by: Christoffer Hansen Signed-off-by: Renato Westphal --- ripngd/ripng_zebra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c index 6830e0e926..1717b01209 100644 --- a/ripngd/ripng_zebra.c +++ b/ripngd/ripng_zebra.c @@ -330,7 +330,7 @@ DEFUN (ripng_redistribute_type_routemap, return CMD_WARNING_CONFIG_FAILED; } - ripng_redistribute_routemap_set(type, argv[idx_word]->text); + ripng_redistribute_routemap_set(type, argv[idx_word]->arg); zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6, type, 0, VRF_DEFAULT); return CMD_SUCCESS; @@ -361,7 +361,7 @@ DEFUN (ripng_redistribute_type_metric_routemap, } ripng_redistribute_metric_set(type, metric); - ripng_redistribute_routemap_set(type, argv[idx_word]->text); + ripng_redistribute_routemap_set(type, argv[idx_word]->arg); zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6, type, 0, VRF_DEFAULT); return CMD_SUCCESS; -- 2.39.5