mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-22 08:14:35 +00:00
Merge pull request #817 from donaldsharp/babel_redist
babeld: Allow babel to redistribute v6 routes
This commit is contained in:
commit
2ddcf30b2a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user