X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fvport-capwap.c;h=f26d3ff942a0562fe56a838255146effc17c289a;hb=49a4902d76b9149e4fa399bde6d5cb9a91e64c07;hp=b4c3b49433d299845ab72a87b44c31866b5b02cf;hpb=5c7f58830a25520f7e18225b79de2774b9e9e012;p=openvswitch diff --git a/datapath/vport-capwap.c b/datapath/vport-capwap.c index b4c3b494..f26d3ff9 100644 --- a/datapath/vport-capwap.c +++ b/datapath/vport-capwap.c @@ -162,9 +162,9 @@ static void get_capwap_param(const struct tnl_mutable_config *mutable, if (tun_key->ipv4_dst) { *flags = 0; - if (tun_key->tun_flags & OVS_FLOW_TNL_F_KEY) + if (tun_key->tun_flags & OVS_TNL_F_KEY) *flags = TNL_F_OUT_KEY_ACTION; - if (tun_key->tun_flags & OVS_FLOW_TNL_F_CSUM) + if (tun_key->tun_flags & OVS_TNL_F_CSUM) *flags |= TNL_F_CSUM; *out_key = tun_key->tun_id; } else { @@ -359,7 +359,7 @@ static int capwap_rcv(struct sock *sk, struct sk_buff *skb) !(mutable->flags & TNL_F_IN_KEY_MATCH)) key_present = false; - tnl_tun_key_init(&tun_key, iph, key, key_present ? OVS_FLOW_TNL_F_KEY : 0); + tnl_tun_key_init(&tun_key, iph, key, key_present ? OVS_TNL_F_KEY : 0); OVS_CB(skb)->tun_key = &tun_key; ovs_tnl_rcv(vport, skb);