X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbundle.c;h=60a360e1dd7459fb8608d259724d1f99d96bb2fb;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=9aec8c91a0bf588f7f62eb07d77cf2fd79c89f4d;hpb=34582733d9aad82bba60f4bf986b62d58412502a;p=sliver-openvswitch.git diff --git a/lib/bundle.c b/lib/bundle.c index 9aec8c91a..60a360e1d 100644 --- a/lib/bundle.c +++ b/lib/bundle.c @@ -99,7 +99,7 @@ bundle_execute(const struct ofpact_bundle *bundle, return execute_ab(bundle, slave_enabled, aux); default: - NOT_REACHED(); + OVS_NOT_REACHED(); } } @@ -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);