]> git.proxmox.com Git - ovs.git/commit - lib/nx-match.c
nx-match: Serialize match on IP TTL even when outputting OXM.
authorBen Pfaff <blp@nicira.com>
Sat, 10 Oct 2015 03:33:26 +0000 (20:33 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 16 Oct 2015 04:17:08 +0000 (21:17 -0700)
commit5a21d9c2b1da69240bae1902319e628a42bc35b7
tree7a8450043cf8a3a4c094235fd682cacb6840aec2
parent30f41d5fc5f8f4410a187f7562091bae538316c8
nx-match: Serialize match on IP TTL even when outputting OXM.

The 'oxm' parameter to nxm_put_ip() indicates whether NXM or OXM code
points should be used in cases where both exist.  It shouldn't cause
matches to be dropped entirely, since that changes the meaning, but that's
what was done here for matches on the IP (v4 or v6) TTL.  This commit
fixes the problem.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
lib/nx-match.c