Found by sparse.
Fixes: commit
660f5a61286 ("ovn-controller: Use ofputil_encode_set_config to set the switch config")
Reported-by: Russell Bryant <russell@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
struct ofputil_switch_config config;
ofputil_decode_get_config_reply(oh, &config);
- config.miss_send_len = htons(UINT16_MAX);
+ config.miss_send_len = UINT16_MAX;
set_switch_config(swconn, &config);
} else if (type == OFPTYPE_PACKET_IN) {
process_packet_in(ctx, oh);