summaryrefslogtreecommitdiffstats
path: root/sys/netkey/key_debug.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-13 14:52:53 +0000
committershin <shin@FreeBSD.org>2000-01-13 14:52:53 +0000
commit8813e718dc87a6dcf42bd2743686c7a74df222ca (patch)
tree8e87172e88ca2bdbef8c5b66e7e88662d6cbfb0d /sys/netkey/key_debug.c
parent67fa8a58e342435bbf9002af532193bba929725a (diff)
downloadFreeBSD-src-8813e718dc87a6dcf42bd2743686c7a74df222ca.zip
FreeBSD-src-8813e718dc87a6dcf42bd2743686c7a74df222ca.tar.gz
Change struct sockaddr_storage member name, because following change
is very likely to become consensus as recent ietf/ipng mailing list discussion. Also recent KAME repository and other KAME patched BSDs also applied it. s/__ss_family/ss_family/ s/__ss_len/ss_len/ Makeworld is confirmed, and no application should be affected by this change yet.
Diffstat (limited to 'sys/netkey/key_debug.c')
-rw-r--r--sys/netkey/key_debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netkey/key_debug.c b/sys/netkey/key_debug.c
index fc6e3a3..6b7e77c 100644
--- a/sys/netkey/key_debug.c
+++ b/sys/netkey/key_debug.c
@@ -478,9 +478,9 @@ kdebug_secpolicyindex(spidx)
printf("secpolicyindex{ dir=%u prefs=%u prefd=%u ul_proto=%u\n",
spidx->dir, spidx->prefs, spidx->prefd, spidx->ul_proto);
- ipsec_hexdump((caddr_t)&spidx->src, spidx->src.__ss_len);
+ ipsec_hexdump((caddr_t)&spidx->src, spidx->src.ss_len);
printf("\n");
- ipsec_hexdump((caddr_t)&spidx->dst, spidx->dst.__ss_len);
+ ipsec_hexdump((caddr_t)&spidx->dst, spidx->dst.ss_len);
printf("}\n");
return;
@@ -497,9 +497,9 @@ kdebug_secasindex(saidx)
printf("secasindex{ mode=%u proto=%u\n",
saidx->mode, saidx->proto);
- ipsec_hexdump((caddr_t)&saidx->src, saidx->src.__ss_len);
+ ipsec_hexdump((caddr_t)&saidx->src, saidx->src.ss_len);
printf("\n");
- ipsec_hexdump((caddr_t)&saidx->dst, saidx->dst.__ss_len);
+ ipsec_hexdump((caddr_t)&saidx->dst, saidx->dst.ss_len);
printf("\n");
return;
OpenPOWER on IntegriCloud