drkjam/netaddr — Issue #22: all_matching_cidrs: documentation incorrectly says that 1st argument can be an IP address or subnet
Author: archtaku
Created: 2012-01-04 21:46:21+00:00
State: open

The documentation for this function says that "ip" can be an "IP address or subnet". However, this argument is passed to the "IPAddress" constructor, resulting in the following error:

IPAddress() does not support netmasks or subnet prefixes!

The documentation should be corrected to accurately describe the function.