ofproto-dpif: Make compose_mirror_dsts() harder to screw up.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Oct 2011 22:42:17 +0000 (15:42 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Nov 2011 18:11:53 +0000 (10:11 -0800)
commitcb77e39b04904c8e8ae34d5bd6dd99c852018d52
tree71503bf8fe1d31b25bcc62bfb11a64561d0c2f4e
parent5da5ec37e45c0287ebe7e52278dfed3a485b6f2a
ofproto-dpif: Make compose_mirror_dsts() harder to screw up.

I came close to add a "continue;" inside the main "while" loop in
compose_mirror_dsts(), which would have turned it into an infinite loop.
This commit changes it to a "for" loop that is harder to screw up.
ofproto/ofproto-dpif.c