ofp-actions: Prefer OFPAT11_DEC_TTL to NXAST_DEC_TTL for OpenFlow 1.1+.
authorBen Pfaff <blp@nicira.com>
Thu, 18 Oct 2012 18:12:38 +0000 (11:12 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 18 Oct 2012 18:39:28 +0000 (11:39 -0700)
commit9908606290852fc4d29132c843d9f17938cce7d8
tree2fa7f51e42a2da80138edf0b127b0fa086c0f84e
parent68194f84b13011742cca3dc1b55d86c1c60a9555
ofp-actions: Prefer OFPAT11_DEC_TTL to NXAST_DEC_TTL for OpenFlow 1.1+.

When "dec_ttl" is specified as the name of an action, in OpenFlow 1.1 and
later we should prefer to use the standardized action, rather than the
Nicira extension.

Reported-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Reviewed-by: Isaku Yamahata <yamahata@valinux.co.jp>
lib/ofp-actions.c
lib/ofp-parse.c