diff options
author | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-07 18:17:16 +0100 |
---|---|---|
committer | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-07 18:21:31 +0100 |
commit | de9b87f55863f29eb7965d8a772f8a34f195f4ac (patch) | |
tree | 727486aa3727b3ef6ecff2fa589fa6e910caeb38 /nest/rt-table.c | |
parent | e691d16a63ce40bc56ecbc970e8118686d4b0148 (diff) |
Add NET ROA4/6 structures
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 7c72aa4a..25362271 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -112,10 +112,12 @@ net_route(rtable *tab, const net_addr *n) { case NET_IP4: case NET_VPN4: + case NET_ROA4: return net_route_ip4(&tab->fib, (net_addr_ip4 *) n0); case NET_IP6: case NET_VPN6: + case NET_ROA6: return net_route_ip6(&tab->fib, (net_addr_ip6 *) n0); default: |