ofproto: Fix implementation of OFPAT_SET_NW_DST.
authorBen Pfaff <blp@nicira.com>
Fri, 12 Feb 2010 20:59:50 +0000 (12:59 -0800)
committerJustin Pettit <jpettit@nicira.com>
Sat, 20 Feb 2010 10:22:30 +0000 (02:22 -0800)
From Jean Tourrilhes <jt@hpl.hp.com>.

ofproto/ofproto.c

index 4d4965dda0c2803aaaff98e8c84f2c71e158f7bb..0e422146070dd1f6166351fa873ba44641fcb43a 100644 (file)
@@ -2211,6 +2211,7 @@ do_xlate_actions(const union ofp_action *in, size_t n_in,
         case OFPAT_SET_NW_DST:
             oa = odp_actions_add(ctx->out, ODPAT_SET_NW_DST);
             oa->nw_addr.nw_addr = ia->nw_addr.nw_addr;
+            break;
 
         case OFPAT_SET_NW_TOS:
             oa = odp_actions_add(ctx->out, ODPAT_SET_NW_TOS);