Merge pull request #2123 from UrBnW/watchint
fix(whatchguard) maxint issue
This commit is contained in:
commit
bacd6967c8
|
@ -123,6 +123,11 @@ sub manage_selection {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Must be a Watchguard bug, where wgPolicyCurrActiveConns sporadically returns 2^32−1...
|
||||||
|
if ($result->{wgPolicyCurrActiveConns} == 4294967295) {
|
||||||
|
$result->{wgPolicyCurrActiveConns} = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$self->{policy}->{$instance} = { display => $result->{wgPolicyName},
|
$self->{policy}->{$instance} = { display => $result->{wgPolicyName},
|
||||||
%$result
|
%$result
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue