]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_rnh_null.c
Zebra: Fix static NHT to work properly in a VRF
[mirror_frr.git] / zebra / zebra_rnh_null.c
1 #include <zebra.h>
2 #include "zebra/rib.h"
3 #include "zebra/zserv.h"
4 #include "zebra/zebra_rnh.h"
5
6 int zebra_rnh_ip_default_route = 0;
7 int zebra_rnh_ipv6_default_route = 0;
8
9 void zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type,
10 struct prefix *p)
11 {}
12
13 void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty,
14 rnh_type_t type)
15 {}
16
17 void zebra_register_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
18 {}
19
20 void zebra_deregister_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
21 {}
22
23 void zebra_deregister_rnh_static_nexthops (vrf_id_t vrfid, struct nexthop *nexthop,
24 struct route_node *rn)
25 {}