Skip to content

Commit

Permalink
datapath: Fix STT protocol field for sampling packet.
Browse files Browse the repository at this point in the history
Fixes typo in STT sampling code.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
  • Loading branch information
Pravin B Shelar committed Aug 1, 2015
1 parent 2a9e177 commit 1efcf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapath/vport-stt.c
Expand Up @@ -189,7 +189,7 @@ static int stt_get_egress_tun_info(struct vport *vport, struct sk_buff *skb,
return ovs_tunnel_get_egress_info(egress_tun_info,
ovs_dp_get_net(vport->dp),
OVS_CB(skb)->egress_tun_info,
IPPROTO_UDP, skb->mark, sport, dport);
IPPROTO_TCP, skb->mark, sport, dport);
}

static struct vport_ops ovs_stt_vport_ops = {
Expand Down

0 comments on commit 1efcf58

Please sign in to comment.