From 02aca536aec93edd799d67615e47bdb7b5babf4a Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Date: Fri, 9 Oct 2015 13:02:25 +0200
Subject: [kernel] Correct documentation
Fix mistakes found by 'xmllint'.
---
lib/kernel/doc/src/inet.xml | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
(limited to 'lib/kernel/doc/src/inet.xml')
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml
index e6d418dc58..088d78c1d6 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -4,7 +4,7 @@
- 19972013
+ 19972015
Ericsson AB. All Rights Reserved.
@@ -117,8 +117,9 @@ fe80::204:acff:fe17:bf38
- socket()
- See gen_tcp(3)
+ socket()
+
+ See gen_tcp(3)
and gen_udp(3).
@@ -222,7 +223,7 @@ fe80::204:acff:fe17:bf38
Do not rely too much on the order of Flag atoms or
- Ifopt tuples. There are some rules, though:
+ Ifopt tuples. There are some rules, though:
-
Immediately after {addr,_} follows {netmask,_}
@@ -238,7 +239,6 @@ fe80::204:acff:fe17:bf38
tuple concerns that address.
-
The {hwaddr,_} tuple is not returned on Solaris since the
hardware address historically belongs to the link layer and only
@@ -379,14 +379,14 @@ fe80::204:acff:fe17:bf38
Convert IPv6 / IPV4 adress to ascii
- Parses an ip_address() and returns an IPv4 or IPv6 address string.
+ Parses an ip_address() and returns an IPv4 or IPv6 address string.
Parse an IPv4 address
- Parses an IPv4 address string and returns an ip4_address().
+
Parses an IPv4 address string and returns an ip4_address().
Accepts a shortened IPv4 shortened address string.
@@ -394,14 +394,14 @@ fe80::204:acff:fe17:bf38
Parse an IPv4 address strict.
- Parses an IPv4 address string containing four fields, i.e not shortened, and returns an ip4_address().
+ Parses an IPv4 address string containing four fields, i.e not shortened, and returns an ip4_address().
Parse an IPv6 address
- Parses an IPv6 address string and returns an ip6_address().
+
Parses an IPv6 address string and returns an ip6_address().
If an IPv4 address string is passed, an IPv4-mapped IPv6 address is returned.
@@ -409,22 +409,22 @@ fe80::204:acff:fe17:bf38
Parse an IPv6 address strict.
- Parses an IPv6 address string and returns an ip6_address().
- Does not accept IPv4 adresses.
+ Parses an IPv6 address string and returns an ip6_address().
+ Does not accept IPv4 adresses.
Parse an IPv4 or IPv6 address.
- Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Accepts a shortened IPv4 address string.
+ Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Accepts a shortened IPv4 address string.
Parse an IPv4 or IPv6 address strict.
- Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Does not accept a shortened IPv4 address string.
+ Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Does not accept a shortened IPv4 address string.
@@ -862,10 +862,10 @@ fe80::204:acff:fe17:bf38
CAP_SYS_ADMIN according to the documentation for setns(2).
However, during testing also CAP_SYS_PTRACE
and CAP_DAC_READ_SEARCH has proven to be necessary.
- Example:
+ Example:
setcap cap_sys_admin,cap_sys_ptrace,cap_dac_read_search+epi beam.smp
- Note also that the filesystem containing the virtual machine
+ Note also that the filesystem containing the virtual machine
executable (beam.smp in the example above) has to be local,
mounted without the nosetuid flag,
support extended attributes and that
--
cgit v1.2.3