summaryrefslogtreecommitdiff
path: root/isisd/isis_redist.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-05 00:10:31 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-14 17:12:35 +0300
commit8c6482db8ced19032101444ddb19c9c2ae04ec9d (patch)
treeca094e80dd8fc094c41cf25eeda200644a0d9fdd /isisd/isis_redist.h
parenta601d662743f379d4626dc252115ece7bd7ba83b (diff)
isisd: fix redistribution in vrf
When the redistribution is configured in non-default VRF, isisd should redistribute routes from this VRF instead of default. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'isisd/isis_redist.h')
-rw-r--r--isisd/isis_redist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_redist.h b/isisd/isis_redist.h
index fcc4ceadf4..10dccbc518 100644
--- a/isisd/isis_redist.h
+++ b/isisd/isis_redist.h
@@ -47,6 +47,8 @@ struct prefix;
struct prefix_ipv6;
struct vty;
+afi_t afi_for_redist_protocol(int protocol);
+
struct route_table *get_ext_reach(struct isis_area *area, int family,
int level);
void isis_redist_add(struct isis *isis, int type, struct prefix *p,