Commit 779baa0a authored by nuts's avatar nuts
Browse files

- fix for 64bit use



git-svn-id: https://subversion.fem.tu-ilmenau.de/repository/nagios@25 0c029375-f9a5-47ba-aa0c-8883c34e326a
parent bd000ae0
......@@ -74,8 +74,8 @@ our ($_active) = 0;
# calculate the point at which the counter will cycle (based on 32-bit counter): if the interface
# supports 64-bit, it's unlikely to time out (will last for about 15 years on a 40Gbps port)
$_cycle32 = 0x100000000; # aka 1 << 32
$_cycle64 = 0x10000000000000000; # aka 1 << 64
$_cycle32 = hex("0x100000000"); # aka 1 << 32
$_cycle64 = hex("0x10000000000000000"); # aka 1 << 64
# --------------------------------------------------------------------------------------------------
# start the program by processing the command-line options, but first create a variable to hold the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment