dpctl: When parsing actions, don't let "drop" be preceded by other actions.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Apr 2009 17:01:30 +0000 (10:01 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Apr 2009 17:01:30 +0000 (10:01 -0700)
commit0dc996a81bec847de5fff732b5714161ba0cb583
tree010ba77987ad7f269519fbb7cc5e4f11d9d1c55f
parent0721f5364fa113309e14470c174725635fac92d8
dpctl: When parsing actions, don't let "drop" be preceded by other actions.

The dpctl manpage says that "drop" must not be used with other actions,
but we were only checking for other actions *after* it, not just ones
before it.
utilities/dpctl.c