===== net/ipv4/xfrm4_output.c 1.9 vs edited ===== --- 1.9/net/ipv4/xfrm4_output.c 2005-03-15 16:38:41 +11:00 +++ edited/net/ipv4/xfrm4_output.c 2005-03-18 21:02:33 +11:00 @@ -58,7 +58,7 @@ if (!top_iph->frag_off) __ip_select_ident(top_iph, dst, 0); - top_iph->ttl = dst_path_metric(dst, RTAX_HOPLIMIT); + top_iph->ttl = dst_metric(dst->child, RTAX_HOPLIMIT); top_iph->saddr = x->props.saddr.a4; top_iph->daddr = x->id.daddr.a4; ===== net/ipv6/xfrm6_output.c 1.10 vs edited ===== --- 1.10/net/ipv6/xfrm6_output.c 2005-03-15 16:38:41 +11:00 +++ edited/net/ipv6/xfrm6_output.c 2005-03-18 21:02:46 +11:00 @@ -69,7 +69,7 @@ dsfield &= ~INET_ECN_MASK; ipv6_change_dsfield(top_iph, 0, dsfield); top_iph->nexthdr = IPPROTO_IPV6; - top_iph->hop_limit = dst_path_metric(dst, RTAX_HOPLIMIT); + top_iph->hop_limit = dst_metric(dst->child, RTAX_HOPLIMIT); ipv6_addr_copy(&top_iph->saddr, (struct in6_addr *)&x->props.saddr); ipv6_addr_copy(&top_iph->daddr, (struct in6_addr *)&x->id.daddr); }