File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ import (
10
10
"strings"
11
11
)
12
12
13
- //HostListBuiltinAll all hosts are matched
13
+ // HostListBuiltinAll all hosts are matched
14
14
const HostListBuiltinAll = "all"
15
15
16
- //HostListBuiltinExternal A valid non-private unicast IP, all hosts on public internet are matched
16
+ // HostListBuiltinExternal A valid non-private unicast IP, all hosts on public internet are matched
17
17
const HostListBuiltinExternal = "external"
18
18
19
- //HostListBuiltinPrivate RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and RFC 4193 (FC00::/7). Also called LAN/Intranet.
19
+ // HostListBuiltinPrivate RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and RFC 4193 (FC00::/7). Also called LAN/Intranet.
20
20
const HostListBuiltinPrivate = "private"
21
21
22
- //HostListBuiltinLoopback 127.0.0.0/8 for IPv4 and ::1/128 for IPv6, localhost is included.
22
+ // HostListBuiltinLoopback 127.0.0.0/8 for IPv4 and ::1/128 for IPv6, localhost is included.
23
23
const HostListBuiltinLoopback = "loopback"
24
24
25
25
// IsIPPrivate for net.IP.IsPrivate. TODO: replace with `ip.IsPrivate()` if min go version is bumped to 1.17
You can’t perform that action at this time.
0 commit comments