diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-13 08:35:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-13 08:35:57 +0300 |
commit | 5170ae824ddf1988a63fb12cbedcff817634c444 (patch) | |
tree | 9f1619ca6edd0e8078bfcd9d6123e119b935e43b /drivers/net/pptp.c | |
parent | abbf46ae0e4954584eac599bec73502c1c805e9e (diff) | |
download | linux-5170ae824ddf1988a63fb12cbedcff817634c444.tar.xz |
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) iph->tos = 0; iph->daddr = rt->rt_dst; iph->saddr = rt->rt_src; - iph->ttl = dst_metric(&rt->dst, RTAX_HOPLIMIT); + iph->ttl = dst_metric_hoplimit(&rt->dst); iph->tot_len = htons(skb->len); skb_dst_drop(skb); |