forked from pool/perl-Net-IP
- Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN - modified patches % perl-Net-IP-1.25-zero_address.diff (refreshed) OBS-URL: https://build.opensuse.org/request/show/1154695 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-IP?expand=0&rev=26
12 lines
235 B
Diff
12 lines
235 B
Diff
--- a/IP.pm
|
|
+++ b/IP.pm
|
|
@@ -410,7 +410,7 @@
|
|
|
|
my $int = ip_bintoint($self->binip());
|
|
|
|
- if (!$int) {
|
|
+ if (ref($int) ne "Math::BigInt") {
|
|
$self->{error} = $ERROR;
|
|
$self->{errno} = $ERRNO;
|
|
return;
|