ofp-print: Fix handling of zero-length actions.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Nov 2010 21:10:30 +0000 (13:10 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 2 Dec 2010 22:57:58 +0000 (14:57 -0800)
commit1d87ef5cb22d4d1709af6b4d0460b0c3e2af9a22
tree41e3b13fbeae5c9651ed5dc1754fe36fd16c0458
parenta2cb9dfdaf6d397005d992aa45b54d348ef7589e
ofp-print: Fix handling of zero-length actions.

Without this change, zero-length ofp_actions cause an infinite loop.
lib/ofp-print.c