Flow expiry: Remove all references to OFPC_SEND_FLOW_EXP
This commit is contained in:
1 parent
a00b917457
commit
c6f1379fff
5 files changed
+3
-13
No files matched your search
@@ -895,7 +895,7 @@ recv_set_config(struct datapath *dp, const struct sender *sender UNUSED,
|
||||
const struct ofp_switch_config *osc = msg;
|
||||
int flags;
|
||||
|
||||
flags = ntohs(osc->flags) & (OFPC_SEND_FLOW_EXP | OFPC_FRAG_MASK);
|
||||
flags = ntohs(osc->flags) & OFPC_FRAG_MASK;
|
||||
if ((flags & OFPC_FRAG_MASK) != OFPC_FRAG_NORMAL
|
||||
&& (flags & OFPC_FRAG_MASK) != OFPC_FRAG_DROP) {
|
||||
flags = (flags & ~OFPC_FRAG_MASK) | OFPC_FRAG_DROP;
|
||||
|
||||
Reference in new issue
Block a user