diff options
author | Ben Pfaff <blp@ovn.org> | 2018-09-20 11:01:35 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-09-20 14:14:00 -0700 |
commit | 586ebdec0b17eb3f87705e72ec862b2911dfdf8c (patch) | |
tree | b1913384579ae39852b6f2e5683aa1c3db76cc27 /include | |
parent | ef1ebd3f33243e5585aa914208b94d0049fa2a7c (diff) | |
download | openvswitch-586ebdec0b17eb3f87705e72ec862b2911dfdf8c.tar.gz |
meta-flow: Make "nw_frag" a synonym for "ip_frag".
Since the time that OVS introduced support for IP fragments, the OVS
functions that format flows have used "nw_frag", but the ones that parse
flows have expected "ip_frag". Obviously this is a bug and it's a surprise
that it's gone so long without anyone reporting the problem. This fixes
it and adds a test.
Reported-by: Gurucharan Shetty <guru@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvswitch/meta-flow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/meta-flow.h b/include/openvswitch/meta-flow.h index 627c8a391..152f512db 100644 --- a/include/openvswitch/meta-flow.h +++ b/include/openvswitch/meta-flow.h @@ -1454,7 +1454,7 @@ enum OVS_PACKED_ENUM mf_field_id { */ MFF_IP_TTL, - /* "ip_frag". + /* "ip_frag" (aka "nw_frag"). * * IP fragment information. * |