Skip to content

Commit

Permalink
adjusting operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruns committed May 9, 2017
1 parent a7d93da commit 1c2784f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Netspoc/Compiler/Common.pm
Expand Up @@ -158,11 +158,11 @@ sub increment_ip {

if ($config->{ipv6}) {
my ($s1, $s2, $s3, $s4) = unpack('N4', $bitstring);
if ($s4 eq 0xffffffff) {
if ($s4 == 0xffffffff) {
$s4 = 0;
if ($s3 eq 0xffffffff) {
if ($s3 == 0xffffffff) {
$s3 = 0;
if ($s2 eq 0xffffffff) {
if ($s2 == 0xffffffff) {
$s2 = 0;
$s1++;
}
Expand Down

0 comments on commit 1c2784f

Please sign in to comment.