On 5/11/22 10:53, Han Ding wrote:
> When setting just one ofp version to protocols of bridge, The function
> get_highest_ofp_version in ovs-save parse it error.
>
> For example:
> $ ovs-vsctl get bridge br-int protocols
> [OpenFlow15]
>
> $ ovs-vsctl get bridge br-int protocols |
> sed 's/[][]//g' | sed 's/\ //g' | awk -F ',' '{ print (NF>1)? $(NF) :
> "OpenFlow14" }'
> OpenFlow14
>
> Signed-off-by: Han Ding <[email protected]>
> Acked-by: Adrian Moreno <[email protected]>
> ---
>
> Notes:
> Change the author name to full name.
>
> utilities/ovs-save | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied. Thanks!
Backported down to 2.16.
Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev