diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-26 19:08:02 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-26 19:08:02 +0800 |
commit | 8e7b4cdc7267cda5becbcfa12ea2be6b273eec6e (patch) | |
tree | 5f3dbcc32ee6f6ae6e0598524a93880fabf4088c /net/Makefile | |
parent | 35764a21de4c5103baf51485f284f3f9d4ca4297 (diff) | |
download | freebsd-ports-gnome-8e7b4cdc7267cda5becbcfa12ea2be6b273eec6e.tar.gz freebsd-ports-gnome-8e7b4cdc7267cda5becbcfa12ea2be6b273eec6e.tar.zst freebsd-ports-gnome-8e7b4cdc7267cda5becbcfa12ea2be6b273eec6e.zip |
- Add p5-Net-Subnet 1.02
This is a simple but fast pure Perl module for determining whether a given IP
address is in a given set of IP subnets. It's iterative, and it doesn't use any
fancy tries, but because it uses simple bitwise operations on strings it's still
very fast.
All documented functions are exported by default.
Subnets have to be given in "address/mask" or "address/length" (CIDR) format.
The Socket and Socket6 modules are used to normalise addresses, which means that
any of the address formats supported by inet_aton and inet_pton can be used with
Net::Subnet.
WWW: http://search.cpan.org/dist/Net-Subnet/
PR: ports/161335
Submitted by: Henk van Oers <hvo.pm@xs4all.nl>
Diffstat (limited to 'net/Makefile')
-rw-r--r-- | net/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index b96fc76385d3..9587c2d5bef6 100644 --- a/net/Makefile +++ b/net/Makefile @@ -641,6 +641,7 @@ SUBDIR += p5-Net-Server SUBDIR += p5-Net-Server-Coro SUBDIR += p5-Net-Services + SUBDIR += p5-Net-Subnet SUBDIR += p5-Net-Subnets SUBDIR += p5-Net-TCLink SUBDIR += p5-Net-TcpDumpLog |