On Mon, Dec 21, 2020 at 9:28 PM Dumitru Ceara <[email protected]> wrote:

> This allows users to interact with the ovn-nbctl daemon even before the
> first time the IDL client successfully connects to the server.
>
> Reported-at:
> https://mail.openvswitch.org/pipermail/ovs-dev/2020-December/378826.html
> Reported-by: Girish Moodalbail <[email protected]>
> Signed-off-by: Dumitru Ceara <[email protected]>
>

Thanks Dumitru. I applied this patch to master.

Numan


> ---
>  utilities/ovn-nbctl.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/utilities/ovn-nbctl.c b/utilities/ovn-nbctl.c
> index 94e7eed..e441b7f 100644
> --- a/utilities/ovn-nbctl.c
> +++ b/utilities/ovn-nbctl.c
> @@ -6834,8 +6834,9 @@ server_loop(struct ovsdb_idl *idl, int argc, char
> *argv[])
>
>          if (ovsdb_idl_has_ever_connected(idl)) {
>              daemonize_complete();
> -            unixctl_server_run(server);
>          }
> +        unixctl_server_run(server);
> +
>          if (exiting) {
>              break;
>          }
> --
> 1.8.3.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to