The sockaddr.Include
and sockaddr.Exclude
do not have "private" selector.
#328
Labels
sockaddr.Include
and sockaddr.Exclude
do not have "private" selector.
#328
Hi @hairyhenderson,
I've noticed that the documentation mentions that the
sockaddr.Exclude
andsockaddr.Include
support a "private" selector, but it does not seem to be the case, for instance:Which is correct as per the ifaddrs.go implementation.
To achieve this (somewhat), one would have to use the
rfc
selector with an appropriate numeric RFC code. Alternatively, we could send a Pull Request againstgo-sockaddr
to add this include/exclude filter.Would you like to send a Pull Request to update documentation?
The text was updated successfully, but these errors were encountered: