diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-13 00:35:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-13 00:35:57 -0500 |
commit | 5170ae824ddf1988a63fb12cbedcff817634c444 (patch) | |
tree | 9f1619ca6edd0e8078bfcd9d6123e119b935e43b /drivers/net/pptp.c | |
parent | abbf46ae0e4954584eac599bec73502c1c805e9e (diff) |
net: Abstract RTAX_HOPLIMIT metric accesses behind helper.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pptp.c')
-rw-r--r-- | drivers/net/pptp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pptp.c b/drivers/net/pptp.c index 7556a9224f72..c83e168eef21 100644 --- a/drivers/net/pptp.c +++ b/drivers/net/pptp.c | |||
@@ -277,7 +277,7 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb) | |||
277 | iph->tos = 0; | 277 | iph->tos = 0; |
278 | iph->daddr = rt->rt_dst; | 278 | iph->daddr = rt->rt_dst; |
279 | iph->saddr = rt->rt_src; | 279 | iph->saddr = rt->rt_src; |
280 | iph->ttl = dst_metric(&rt->dst, RTAX_HOPLIMIT); | 280 | iph->ttl = dst_metric_hoplimit(&rt->dst); |
281 | iph->tot_len = htons(skb->len); | 281 | iph->tot_len = htons(skb->len); |
282 | 282 | ||
283 | skb_dst_drop(skb); | 283 | skb_dst_drop(skb); |