ofp-parse: ofp-parse fails to properly validate DROP.
authorEthan Jackson <ethan@nicira.com>
Sun, 2 Jan 2011 20:52:11 +0000 (12:52 -0800)
committerEthan Jackson <ethan@nicira.com>
Sun, 2 Jan 2011 21:17:05 +0000 (13:17 -0800)
commitd13803eb5a5af97a5b35193ce5887c4e4cb10e8a
tree3e683981757e4e382ff4023ec06da1d6c638607f
parent027f90073af54d394f629f4f091a316b26beec67
ofp-parse: ofp-parse fails to properly validate DROP.

The str_to_action function of ofp-parse was not properly
incrementing it's actions counter.  Thus it did not enforce the
requirement that DROP actions not be preceded by other actions.
lib/ofp-parse.c