summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <kw@linux.com>2018-05-18 11:00:25 +0200
committerKrzysztof Wilczynski <kw@linux.com>2018-05-18 11:00:25 +0200
commit8ba7f5e47cbb23cfc504ea477dceb0c071da0f2f (patch)
treee628d470465b33d101bf961f10da1fd6e455a1f6 /docs
parent337a005451544c78ad41a036ecf9ea354d52ceb7 (diff)
Add missing anchor for RFC 1918 link in sockaddr documentation.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/functions/sockaddr.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/functions/sockaddr.md b/docs/content/functions/sockaddr.md
index 9cc14d62..43c8d305 100644
--- a/docs/content/functions/sockaddr.md
+++ b/docs/content/functions/sockaddr.md
@@ -49,7 +49,7 @@ Returns an array of `IfAddr`s containing every IP that matches
[RFC 6890][], is attached to the interface with
the default route, and is a forwardable IP address.
-**Note:** RFC 6890 is a more exhaustive version of [RFC 1918][]
+**Note:** [RFC 6890][] is a more exhaustive version of [RFC 1918][]
because it spans IPv4 and IPv6, however it does permit the inclusion of likely
undesired addresses such as multicast, therefore our definition of a "private"
address also excludes non-forwardable IP addresses (as defined by the IETF).
@@ -372,4 +372,5 @@ $ gomplate -i '{{ sockaddr.GetInterfaceIPs "en0" }}'
10.0.0.28 fe80::1f9a:5582:4b41:bd18
```
+[RFC 1918]: http://tools.ietf.org/html/rfc1918
[RFC 6890]: http://tools.ietf.org/html/rfc6890