X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbundle.c;h=60a360e1dd7459fb8608d259724d1f99d96bb2fb;hb=cf3b7538666cd1ef;hp=4a40a6a5724be964c4eff9da398261e557c4c780;hpb=6b8c377a6e25b18da473c3a24dfad8ec9e01ad7f;p=sliver-openvswitch.git diff --git a/lib/bundle.c b/lib/bundle.c index 4a40a6a57..60a360e1d 100644 --- a/lib/bundle.c +++ b/lib/bundle.c @@ -177,7 +177,7 @@ bundle_from_openflow(const struct nx_action_bundle *nab, ofpbuf_put(ofpacts, &ofp_port, sizeof ofp_port); } - bundle = ofpacts->l2; + bundle = ofpacts->frame; ofpact_update_len(ofpacts, &bundle->ofpact); if (!error) { @@ -288,7 +288,7 @@ bundle_parse__(const char *s, char **save_ptr, } ofpbuf_put(ofpacts, &slave_port, sizeof slave_port); - bundle = ofpacts->l2; + bundle = ofpacts->frame; bundle->n_slaves++; } ofpact_update_len(ofpacts, &bundle->ofpact);