Acked-by: Eitan Eliahu <elia...@vmware.com> Thanks! Eitan
-----Original Message----- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Pravin B Shelar Sent: Wednesday, November 05, 2014 3:22 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] ovs-router: Define stub for ovs_router_unixctl_register() ovs_router_unixctl_register() is called from ofproto layer. But is not defined for all platform. Following patch define stub to fix compilation error. Reported-by: Eitan Eliahu <elia...@vmware.com> Signed-off-by: Pravin B Shelar <pshe...@nicira.com> --- lib/route-table-bsd.c | 5 +++++ lib/route-table-stub.c | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/lib/route-table-bsd.c b/lib/route-table-bsd.c index 6039e3f..a285a57 100644 --- a/lib/route-table-bsd.c +++ b/lib/route-table-bsd.c @@ -140,3 +140,8 @@ void route_table_wait(void) { } + +void +ovs_router_unixctl_register(void) +{ +} diff --git a/lib/route-table-stub.c b/lib/route-table-stub.c index 5aedf5b..4d2bd2c 100644 --- a/lib/route-table-stub.c +++ b/lib/route-table-stub.c @@ -25,6 +25,11 @@ ovs_router_lookup(ovs_be32 ip_dst OVS_UNUSED, char output_bridge[] OVS_UNUSED, return false; } +void +ovs_router_unixctl_register(void) +{ +} + uint64_t route_table_get_change_seq(void) { -- 1.7.1 _______________________________________________ dev mailing list dev@openvswitch.org https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailman_listinfo_dev&d=AAIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=CWsgHUxi6ExLXY798tmo3LJ4e3geGYp56lkcH-5cLCY&m=89AiUH5X-YKs7fl52h9ybVx2BkQwN2u5g-2ymecqU0E&s=0RrjJioUYZhwtgFaMWEBuq8dtYDYi5D_dYUn4k5-sB8&e= _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev