diff options
| author | Stefan Puiu <stefan.puiu@gmail.com> | 2012-04-28 16:48:07 +1200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-05-07 15:30:13 +1200 |
| commit | 85ab5d7ad681156b4b80154585a25d40934bb7a8 (patch) | |
| tree | 8f2dffde9fae94b21c4f5422b965e4ebe823ec73 /man7 | |
| parent | e70cfff8b5becd76b7e6d5dd439cb261a6734bca (diff) | |
| download | man-pages-85ab5d7ad681156b4b80154585a25d40934bb7a8.tar.gz | |
ipv6.7: Add ENODEV error for bind() to link-local IPv6 address
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/ipv6.7 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/man7/ipv6.7 b/man7/ipv6.7 index 0050ecd3fb..99a5b38e94 100644 --- a/man7/ipv6.7 +++ b/man7/ipv6.7 @@ -92,7 +92,7 @@ is the 128-bit IPv6 address. .I sin6_scope_id is an ID depending on the scope of the address. It is new in Linux 2.4. -Linux only supports it for link scope addresses, in that case +Linux only supports it for link-local addresses, in that case .I sin6_scope_id contains the interface index (see .BR netdevice (7)) @@ -267,6 +267,18 @@ The default value for this flag is defined by the contents of the file .IR /proc/sys/net/ipv6/bindv6only . The default value for that file is 0 (false). .\" FLOWLABEL_MGR, FLOWINFO_SEND +.SH ERRORS +.\" FIXME document all errors. +.TP +.B ENODEV +The user tried to +.BR bind (2) +to a link-local IPv6 address, but the +.I sin6_scope_id +in the supplied +.I sockaddr_in6 +structure is not a valid +interface index. .SH VERSIONS The older .I libinet6 |
