Message ID | 20231006151258.983906-5-aconole@redhat.com |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | selftests: openvswitch: Minor fixes for some systems | expand |
On Fri, 2023-10-06 at 11:12 -0400, Aaron Conole wrote:
> Caught during code review.
Since there are a few other small things, please additionally expand
this changelog briefly describing the addressed problem and it's
consequences.
Thanks,
Paolo
Paolo Abeni <pabeni@redhat.com> writes: > On Fri, 2023-10-06 at 11:12 -0400, Aaron Conole wrote: >> Caught during code review. > > Since there are a few other small things, please additionally expand > this changelog briefly describing the addressed problem and it's > consequences. ACK. will fix in v2. Thanks Paolo! > Thanks, > > Paolo
diff --git a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py index 153042c1e8c13..ed7bef7ca6883 100644 --- a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py +++ b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py @@ -1119,12 +1119,14 @@ class ovskey(nla): "src", lambda x: str(ipaddress.IPv4Address(x)), int, + convert_ipv4, ), ( "dst", "dst", - lambda x: str(ipaddress.IPv6Address(x)), + lambda x: str(ipaddress.IPv4Address(x)), int, + convert_ipv4, ), ("tp_src", "tp_src", "%d", int), ("tp_dst", "tp_dst", "%d", int),
Caught during code review. Fixes: e52b07aa1a54 ("selftests: openvswitch: add flow dump support") Signed-off-by: Aaron Conole <aconole@redhat.com> --- tools/testing/selftests/net/openvswitch/ovs-dpctl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)