Skip to content

Commit

Permalink
ovs-router: Define stub for ovs_router_unixctl_register()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: Jarno Rajahalme <[email protected]>-
  • Loading branch information
Pravin B Shelar committed Nov 6, 2014
1 parent 69185eb commit fb39399
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/route-table-bsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,8 @@ void
route_table_wait(void)
{
}

void
ovs_router_unixctl_register(void)
{
}
5 changes: 5 additions & 0 deletions lib/route-table-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fb39399

Please sign in to comment.