[ovs-dev] [PATCH 4/5] ovs-router: Call route_table_register as it relies on route-table module

YAMAMOTO Takashi yamamoto at valinux.co.jp
Wed Nov 19 02:54:38 UTC 2014


At least BSD implementation needs this.

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
---
 lib/ovs-router.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/ovs-router.c b/lib/ovs-router.c
index 2550288..82a6108 100644
--- a/lib/ovs-router.c
+++ b/lib/ovs-router.c
@@ -309,6 +309,7 @@ void
 ovs_router_unixctl_register(void)
 {
     classifier_init(&cls, NULL);
+    route_table_register();
     unixctl_command_register("ovs/route/add", "ipv4_addr/prefix_len out_br_name gw", 2, 3,
                              ovs_router_add, NULL);
     unixctl_command_register("ovs/route/show", "", 0, 0, ovs_router_show, NULL);
-- 
1.9.4




More information about the dev mailing list