|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/x86_64-linux-gnu/perl5/5.34/auto/NetAddr/IP/ |
Upload File : |
# NOTE: Derived from blib/lib/NetAddr/IP.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package NetAddr::IP;
#line 767 "blib/lib/NetAddr/IP.pm (autosplit into blib/lib/auto/NetAddr/IP/wildcard.al)"
sub wildcard($) {
my $copy = $_[0]->copy;
$copy->{addr} = ~ $copy->{mask};
$copy->{addr} &= V4net unless $copy->{isv6};
if (wantarray) {
return ($_[0]->addr, $copy->addr);
}
return $copy->addr;
}
# end of NetAddr::IP::wildcard
1;