mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 09:16:34 +00:00

Resolving routes over the default route for NHT can lead to all sorts of problems. So, we explicitly exclude resolving routes for NHT over the default route. A knob is provided to allow the route to be resolved over the default in case of special circumstances. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
20 lines
482 B
C
20 lines
482 B
C
#include <zebra.h>
|
|
#include "zebra/rib.h"
|
|
#include "zebra/zserv.h"
|
|
#include "zebra/zebra_rnh.h"
|
|
|
|
int zebra_rnh_ip_default_route = 0;
|
|
int zebra_rnh_ipv6_default_route = 0;
|
|
|
|
int zebra_evaluate_rnh_table (int vrfid, int family, int force)
|
|
{ return 0; }
|
|
|
|
void zebra_print_rnh_table (int vrfid, int family, struct vty *vty)
|
|
{}
|
|
|
|
void zebra_register_rnh_static_nh(struct prefix *p, struct route_node *rn)
|
|
{}
|
|
|
|
void zebra_deregister_rnh_static_nh(struct prefix *p, struct route_node *rn)
|
|
{}
|