summaryrefslogtreecommitdiff
path: root/sys/netinet6/ipv6_trans.c
diff options
context:
space:
mode:
authorcmetz <cmetz@cvs.openbsd.org>1999-03-24 02:28:25 +0000
committercmetz <cmetz@cvs.openbsd.org>1999-03-24 02:28:25 +0000
commit41be57199cb2faa999e1c99f32c7a2c5478964ad (patch)
tree6111a7bf6fe7d22863e667e27ca6a76d5ec8cef5 /sys/netinet6/ipv6_trans.c
parent60e37adc52ae8ca7f288f3f3de5b71cc6872b462 (diff)
Replace 'in6a_words' (old NRL convention) with 's6_addr32' (new BSDI et al.
convention that is more common and more specific as to the access size)
Diffstat (limited to 'sys/netinet6/ipv6_trans.c')
-rw-r--r--sys/netinet6/ipv6_trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ipv6_trans.c b/sys/netinet6/ipv6_trans.c
index ccd0bbc58fb..6493cc696b1 100644
--- a/sys/netinet6/ipv6_trans.c
+++ b/sys/netinet6/ipv6_trans.c
@@ -347,7 +347,7 @@ ipv6_trans_output(outgoing, v4dst, v6rt)
{
printf("Oooh boy, v6-in-v4 tunnel ( trans_output() ) trouble!!!\n");
}
- ip->ip_dst.s_addr = ipv6->ipv6_dst.in6a_words[3];
+ ip->ip_dst.s_addr = ipv6->ipv6_dst.s6_addr32[3];
}
ip->ip_src.s_addr = INADDR_ANY;