diff options
author | Rosemarie O'Riorden <roriorden@redhat.com> | 2022-07-08 16:51:25 -0400 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-19 19:55:19 +0200 |
commit | fcdf8ae4a3508be317bf29dfb8878e52ac4c7f50 (patch) | |
tree | d89e3df433e36f3b43ecec9b5062bc7ab3ca685d /tests/tunnel-push-pop.at | |
parent | b31ed07b7ccbc29c26ba93860b408dc10fa4e967 (diff) | |
download | openvswitch-fcdf8ae4a3508be317bf29dfb8878e52ac4c7f50.tar.gz |
lib: Print nw_frag in flow key.
nw_frag was not being printed in the flow key because it was improperly
masked and printed. Since this field is only two bits, it needs to use a
different macro to be masked. During printing, the switch statement
switched on the whole 8 bits rather than just the two that are relevant.
This caused nw_frag to often not be printed at all.
Signed-off-by: Rosemarie O'Riorden <roriorden@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests/tunnel-push-pop.at')
-rw-r--r-- | tests/tunnel-push-pop.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tunnel-push-pop.at b/tests/tunnel-push-pop.at index ce787fffa..2c6c52eda 100644 --- a/tests/tunnel-push-pop.at +++ b/tests/tunnel-push-pop.at @@ -581,7 +581,7 @@ OVS_APP_EXIT_AND_WAIT(ovs-ofctl) AT_CHECK([cat ofctl_monitor.log], [0], [dnl NXT_PACKET_IN2 (xid=0x0): cookie=0x0 total_len=98 tun_id=0x7b,tun_src=1.1.2.92,tun_dst=1.1.2.88,tun_metadata0=0xa,in_port=5 (via action) data_len=98 (unbuffered) -icmp,vlan_tci=0x0000,dl_src=be:b6:f4:e1:49:4a,dl_dst=fe:71:d8:83:72:4f,nw_src=30.0.0.1,nw_dst=30.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=0,icmp_code=0 icmp_csum:4227 +icmp,vlan_tci=0x0000,dl_src=be:b6:f4:e1:49:4a,dl_dst=fe:71:d8:83:72:4f,nw_src=30.0.0.1,nw_dst=30.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,nw_frag=no,icmp_type=0,icmp_code=0 icmp_csum:4227 ]) AT_CHECK([ovs-ofctl dump-ports int-br | grep 'port 5'], [0], [dnl |