else
api.metric = 0;
- if (command == ZEBRA_IPV4_ROUTE_ADD) {
+ if (command == ZEBRA_REDISTRIBUTE_IPV4_ADD) {
if (BGP_DEBUG(zebra, ZEBRA)) {
char buf[2][INET_ADDRSTRLEN];
vnc_zlog_debug_verbose(
if (IN6_IS_ADDR_LINKLOCAL(&p.prefix))
return 0;
- if (command == ZEBRA_IPV6_ROUTE_ADD) {
+ if (command == ZEBRA_REDISTRIBUTE_IPV6_ADD) {
if (BGP_DEBUG(zebra, ZEBRA)) {
char buf[INET6_ADDRSTRLEN];
vnc_zlog_debug_verbose(
if (eigrp == NULL)
return 0;
- if (command == ZEBRA_IPV4_ROUTE_ADD) {
+ if (command == ZEBRA_REDISTRIBUTE_IPV4_ADD) {
- } else /* if (command == ZEBRA_IPV4_ROUTE_DELETE) */
+ } else /* if (command == ZEBRA_REDISTRIBUTE_IPV4_DEL) */
{
}
* without this check)
*/
if (p.prefixlen == 0 && api.type == ZEBRA_ROUTE_ISIS)
- command = ZEBRA_IPV4_ROUTE_DELETE;
+ command = ZEBRA_REDISTRIBUTE_IPV4_DEL;
if (command == ZEBRA_REDISTRIBUTE_IPV4_ADD)
isis_redist_add(api.type, p_generic, api.distance, api.metric);
* without this check)
*/
if (p.prefixlen == 0 && api.type == ZEBRA_ROUTE_ISIS)
- command = ZEBRA_IPV6_ROUTE_DELETE;
+ command = ZEBRA_REDISTRIBUTE_IPV6_DEL;
if (command == ZEBRA_REDISTRIBUTE_IPV6_ADD)
isis_redist_add(api.type, p_generic, api.distance, api.metric);