diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-07 19:05:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-07 19:05:43 +0000 |
commit | 8528151658927bcb4822f2956b93d352cf5ad2e6 (patch) | |
tree | 2a0bc89c187db4a406e382edf4b4f1605018e20b /docs | |
parent | 6476cc108969cb44cad868d8df2c17ee2f953cc2 (diff) | |
download | busybox-w32-8528151658927bcb4822f2956b93d352cf5ad2e6.tar.gz busybox-w32-8528151658927bcb4822f2956b93d352cf5ad2e6.tar.bz2 busybox-w32-8528151658927bcb4822f2956b93d352cf5ad2e6.zip |
small ipv6 doc changes; nslookup a tiny bit smaller
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ipv4_ipv6.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt index 5a63aa776..76d8279c1 100644 --- a/docs/ipv4_ipv6.txt +++ b/docs/ipv4_ipv6.txt | |||
@@ -212,7 +212,8 @@ structure the code differently. | |||
212 | Here's the corresponding server C code for a dual-stack platform: | 212 | Here's the corresponding server C code for a dual-stack platform: |
213 | 213 | ||
214 | int ServSock, csock; | 214 | int ServSock, csock; |
215 | struct sockaddr addr, from; | 215 | /* struct sockaddr is too small! */ |
216 | struct sockaddr_storage addr, from; | ||
216 | ... | 217 | ... |
217 | ServSock = socket(AF_INET6, SOCK_STREAM, PF_INET6); | 218 | ServSock = socket(AF_INET6, SOCK_STREAM, PF_INET6); |
218 | bind(ServSock, &addr, sizeof(addr)); | 219 | bind(ServSock, &addr, sizeof(addr)); |