Hi all:
One of my problems with mrtg, when litteral address are used, is this:
ERROR: Target[[2001:800:40:2a03:205:1cff:fe00:1df0]_3][_IN_] '3:[EMAIL
PROTECTED]:800:40:2a03:205:1cff:fe00:1df0]:' (warn): (Missing operator before
df0?)
ERROR: Target[[2001:800:40:2a03:205:1cff:fe00:1df0]_3][_OUT_] '3:[EMAIL
PROTECTED]:800:40:2a03:205:1cff:fe00:1df0]:' (warn): (Missing operator before
df0?)
WARNING: Skipping Update of [2001:800:40:2a03:205:1cff:fe00:1df0]_3, inlast is
not defined
WARNING: Skipping Update of [2001:800:40:2a03:205:1cff:fe00:1df0]_3, outlast is
not defined
I have spent more than a month on that, and I can not solve: Those implied
in mrtg-2.10pre1 should know about it:
This is caused at around mrtg +403 by the sentence:
$data=eval("$$rcfg{$target}{$rou}");
It's value at runtime is:
$data=eval("3:[EMAIL PROTECTED]:800:40:2a03:205:1cff:fe00:1df0]:")
It's trying to evaluate simbolically the given expression, so it crash...
I tried the hack proposed with
use Math::BigInt;
my $zero=new Math::BigInt(0);
$data=eval("\$zero + $$rcfg{$target}{$rou}");
but , in my case ,it does not result. Why is this ?
Regards.
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/mrtg-developers