fou: Fix typo in returning flags in netlink
When filling netlink info, dport is being returned as flags. Fix instances to return correct value. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
93ffbeab77
commit
e1b2cb6550
@@ -465,7 +465,7 @@ static int ipip_fill_info(struct sk_buff *skb, const struct net_device *dev)
|
||||
nla_put_u16(skb, IFLA_IPTUN_ENCAP_DPORT,
|
||||
tunnel->encap.dport) ||
|
||||
nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS,
|
||||
tunnel->encap.dport))
|
||||
tunnel->encap.flags))
|
||||
goto nla_put_failure;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user