mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
flow: Set ttl in flow_compose().
Thanks to Ben Pfaff for immediately pinpointing the likely location of the issue. Signed-off-by: Justin Pettit <jpettit@nicira.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -767,6 +767,7 @@ flow_compose(struct ofpbuf *b, const struct flow *flow)
|
||||
b->l3 = ip = ofpbuf_put_zeros(b, sizeof *ip);
|
||||
ip->ip_ihl_ver = IP_IHL_VER(5, 4);
|
||||
ip->ip_tos = flow->nw_tos;
|
||||
ip->ip_ttl = flow->nw_ttl;
|
||||
ip->ip_proto = flow->nw_proto;
|
||||
ip->ip_src = flow->nw_src;
|
||||
ip->ip_dst = flow->nw_dst;
|
||||
|
Reference in New Issue
Block a user