]> git.proxmox.com Git - mirror_frr.git/blobdiff - babeld/babel_zebra.c
Merge pull request #815 from dwalton76/CMD_WARNING_take2
[mirror_frr.git] / babeld / babel_zebra.c
index 4e96198e035be1aa837531d162dca830a5dc2460..a3217076f3d642c57976b2ceeeaf85a27b5f7c38 100644 (file)
@@ -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;
 }