aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-11-05 19:49:38 -0500
committerDavid S. Miller <davem@davemloft.net>2014-11-05 22:18:20 -0500
commite1b2cb655060e081e73b384b1fc8b2e978f73467 (patch)
tree46b69489a8af03acbccbdf5038ec0cf5854f8191 /net/ipv6/sit.c
parent93ffbeab77ca6a49e075235faa04c8b032c9fdc1 (diff)
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>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r--net/ipv6/sit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 58e5b4710127..45ad92442cd5 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1714,7 +1714,7 @@ static int ipip6_fill_info(struct sk_buff *skb, const struct net_device *dev)
1714 nla_put_u16(skb, IFLA_IPTUN_ENCAP_DPORT, 1714 nla_put_u16(skb, IFLA_IPTUN_ENCAP_DPORT,
1715 tunnel->encap.dport) || 1715 tunnel->encap.dport) ||
1716 nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS, 1716 nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS,
1717 tunnel->encap.dport)) 1717 tunnel->encap.flags))
1718 goto nla_put_failure; 1718 goto nla_put_failure;
1719 1719
1720 return 0; 1720 return 0;