Compare commits
2
Commits
ef87b21308
...
f35554437d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f35554437d | ||
|
|
6e26d24a42 |
No files matched your search
File renamed without changes.
@@ -46,7 +46,7 @@ fn main() {
|
|||||||
if ip is netaddr.Ipv4Net || ip is netaddr.Ipv6Net {
|
if ip is netaddr.Ipv4Net || ip is netaddr.Ipv6Net {
|
||||||
panic('${ip} seems to be network, not a single host addresses')
|
panic('${ip} seems to be network, not a single host addresses')
|
||||||
}
|
}
|
||||||
println(addr)
|
println(ip)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -265,3 +265,9 @@ println(ip) // 2001:db8::8429:6bff:fedc:ef8b
|
|||||||
|
|
||||||
Note that using EUI in IPv6 address may cause security issues. See
|
Note that using EUI in IPv6 address may cause security issues. See
|
||||||
[RFC 4941](https://datatracker.ietf.org/doc/html/rfc4941) for details.
|
[RFC 4941](https://datatracker.ietf.org/doc/html/rfc4941) for details.
|
||||||
|
|
||||||
|
# License
|
||||||
|
|
||||||
|
`netaddr` is released under LGPL 3.0 or later license.
|
||||||
|
|
||||||
|
SPDX Lincese ID: `LGPL-3.0-or-later`.
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user