[ovs-dev] [PATCH] dpctl: Fix broken Windows build due to missing strndup.

Eelco Chaudron echaudro at redhat.com
Wed Jan 6 16:36:23 UTC 2021



On 6 Jan 2021, at 17:32, Ilya Maximets wrote:

> AppVeyor reports:
>
>   lib/dpctl.c(1433): error C4013: 'strndup' undefined;
>                                   assuming extern returning int
>   make[2]: *** [lib/dpctl.lo] Error 1
>
> Replacing missing 'strndup' with a portable pair of functions.
>
> Fixes: bf8812cd7e20 ("dpctl: Add add/mod/del-flows command.")
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---

This change looks good to me, thanks for preparing it :)

Acked-by: Eelco Chaudron <echaudro at redhat.com>



More information about the dev mailing list