[ovs-discuss] maybe "tcp" in pssl_accept func should change to "ssl"

Justin Pettit jpettit at ovn.org
Fri Dec 18 17:57:32 UTC 2015


That looks correct to me.  There's also another reference in a log message to "ptcp" in that file that should also be fixed.  Do you want me to prepare a patch or would you like to?  I'm happy to do it, but I'm also happy to take one from you--whatever you'd like.

--Justin


> On Dec 18, 2015, at 12:20 AM, meishengxin <meishengxin at huawei.com> wrote:
> 
> Hi,
>          When remote client connect ovsdb-server using pssl method,ovsdb-server log print tcp info for this client connecting.This printed info does not suit for pssl method .
> So I propose the following changes in pssl_accept function.
>  
> Before change:
>              snprintf(name, sizeof name, "tcp:%s:%"PRIu16,
>              ss_format_address(&ss, addrbuf, sizeof addrbuf),
>              ss_get_port(&ss));
> after change:
>              snprintf(name, sizeof name, "ssl:%s:%"PRIu16,
>              ss_format_address(&ss, addrbuf, sizeof addrbuf),
>              ss_get_port(&ss));
>  
> your soon reply will be welcomed.
>  
> Best Regards
> Mei Shengxin
>  
>  
>           
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss




More information about the discuss mailing list