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
@@ -347,7 +347,7 @@ send_features_request(struct lswitch *sw, struct rconn *rconn)
|
||||
|
||||
/* Send OFPT_SET_CONFIG. */
|
||||
osc = make_openflow(sizeof *osc, OFPT_SET_CONFIG, &b);
|
||||
osc->flags = htons(OFPC_SEND_FLOW_EXP);
|
||||
osc->flags = 0;
|
||||
osc->miss_send_len = htons(OFP_DEFAULT_MISS_SEND_LEN);
|
||||
queue_tx(sw, rconn, b);
|
||||
|
||||
|
||||
@@ -589,10 +589,6 @@ ofp_print_switch_config(struct ds *string, const void *oh, size_t len UNUSED,
|
||||
uint16_t flags;
|
||||
|
||||
flags = ntohs(osc->flags);
|
||||
if (flags & OFPC_SEND_FLOW_EXP) {
|
||||
flags &= ~OFPC_SEND_FLOW_EXP;
|
||||
ds_put_format(string, " (sending flow expirations)");
|
||||
}
|
||||
if (flags) {
|
||||
ds_put_format(string, " ***unknown flags 0x%04"PRIx16"***", flags);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user