summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2017-07-14 06:20:54 -0400
committerGitHub <noreply@github.com>2017-07-14 06:20:54 -0400
commit2ddcf30b2a523ca760b32b1a72fd2f16a6c5dc89 (patch)
tree80d5f463acf97dc0565d7a0199658dd236dd4856
parent90325a8304f2c57af12376ae3d6b3749791369ce (diff)
parent0277c4d71200bdbec332c59117d426f7ae771990 (diff)
Merge pull request #817 from donaldsharp/babel_redist
babeld: Allow babel to redistribute v6 routes
-rw-r--r--babeld/babel_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/babeld/babel_zebra.c b/babeld/babel_zebra.c
index 3a7a52ccca..438dc99119 100644
--- a/babeld/babel_zebra.c
+++ b/babeld/babel_zebra.c
@@ -227,6 +227,7 @@ DEFUN (babel_redistribute_type,
}
zclient_redistribute (ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type, 0, VRF_DEFAULT);
+ zclient_redistribute (ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6, type, 0, VRF_DEFAULT);
return CMD_SUCCESS;
}
@@ -248,6 +249,7 @@ DEFUN (no_babel_redistribute_type,
}
zclient_redistribute (ZEBRA_REDISTRIBUTE_DELETE, zclient, AFI_IP, type, 0, VRF_DEFAULT);
+ zclient_redistribute (ZEBRA_REDISTRIBUTE_DELETE, zclient, AFI_IP6, type, 0, VRF_DEFAULT);
/* perhaps should we remove xroutes having the same type... */
return CMD_SUCCESS;
}