Acked-by: Jarno Rajahalme <[email protected]>-

On Nov 5, 2014, at 3:21 PM, Pravin B Shelar <[email protected]> wrote:

> 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]>
> ---
> 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
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to