summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2018-05-18 13:07:53 -0400
committerGitHub <noreply@github.com>2018-05-18 13:07:53 -0400
commitac76843e7bf4f67224e35ffd7271e41b2af01600 (patch)
tree1a087a6bb92e081444362b2a08c4654aad79236e
parent337a005451544c78ad41a036ecf9ea354d52ceb7 (diff)
parent4ccab4fd6cc8ae619ad85b7d6e18c9b4635acdbc (diff)
Merge pull request #329 from kwilczynski/f-update-documentation-for-sockaddr
Remove notion of "private" selector from the Include/Exclude filter.
-rw-r--r--docs/content/functions/sockaddr.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/content/functions/sockaddr.md b/docs/content/functions/sockaddr.md
index 9cc14d62..81f2dba8 100644
--- a/docs/content/functions/sockaddr.md
+++ b/docs/content/functions/sockaddr.md
@@ -84,7 +84,6 @@ The valid selectors are:
| `default` | whether or not the `IfAddr` has a default route |
| `name` | the interface name |
| `port` | the port, if included in the `IfAddr` |
-| `private` | private addresses first |
| `size` | the size of the network mask, smaller mask (larger number of hosts per network) to largest (e.g. a /24 sorts before a /32) |
| `type` | the type of the `IfAddr`. Order is Unix, IPv4, then IPv6 |
@@ -124,7 +123,6 @@ The valid selectors are:
| `name` | the interface name |
| `network` | being part of the given IP network (in net/mask format) |
| `port` | the port, if included in the `IfAddr` |
-| `private` | private addresses |
| `rfc` | being included in networks defined by the given RFC. See [the source code](https://github.com/hashicorp/go-sockaddr/blob/master/rfc.go#L38) for a list of valid RFCs |
| `size` | the size of the network mask, as number of bits (e.g. `"24"` for a /24) |
| `type` | the type of the `IfAddr`. `unix`, `ipv4`, or `ipv6` |