X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbundle.c;h=5db97d39395e31548683e46f272284a45f0c13a4;hb=a2545c3997ea4e0896da8f0531ae271c8a6a95ef;hp=af1be63031857c163e538642aed7489ab7960eb3;hpb=d730ccf057353ca94500fe8f2e6db25bbb1499f2;p=sliver-openvswitch.git diff --git a/lib/bundle.c b/lib/bundle.c index af1be6303..5db97d393 100644 --- a/lib/bundle.c +++ b/lib/bundle.c @@ -152,8 +152,8 @@ bundle_check(const struct nx_action_bundle *nab, int max_ports, VLOG_WARN_RL(&rl, "bundle_load action requires at least 16 bit " "destination."); error = ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_ARGUMENT); - } else { - error = nxm_dst_check(nab->dst, ofs, n_bits, flow) || error; + } else if (!error) { + error = nxm_dst_check(nab->dst, ofs, n_bits, flow); } }