datapath: enable encap for capwap.
[openvswitch] / datapath / vport-capwap.c
index 39aec423f0d3fd292b6d74a21e113789284a37ef..4061c7b11d6a27b70cbc8643d9826b88d41703cb 100644 (file)
@@ -445,7 +445,7 @@ static int init_socket(struct net *net)
        capwap_net->frag_state.low_thresh       = CAPWAP_FRAG_PRUNE_MEM;
 
        inet_frags_init_net(&capwap_net->frag_state);
-
+       udp_encap_enable();
        capwap_net->n_tunnels++;
        return 0;