[ixpmanager] Problem with sflow-detect-ixp-bgp-sessions

Rasmus Åberg rasmus at sthix.net
Wed Mar 2 13:52:56 GMT 2016


Hi,

I'm having some issues getting the sflow-detect-ixp-bgp-sessions to work.
See output below:

/usr/local/bin# control-sflow-detect-ixp-bgp-sessions start

control-sflow-detect-ixp-bgp-sessions                         [Started]

/usr/local/bin# given is experimental at
/usr/local/bin/sflow-detect-ixp-bgp-sessions line 106.

when is experimental at /usr/local/bin/sflow-detect-ixp-bgp-sessions line
107.

when is experimental at /usr/local/bin/sflow-detect-ixp-bgp-sessions line
108.

Can't call method "short" on an undefined value at
/usr/local/bin/sflow-detect-ixp-bgp-sessions line 206.


Line 206:

                $mapping->{6}->{NetAddr::IP->new($rec->{address})->short()}
= $rec->{id};


When debugging a bit and changing the code on line 206 to the following:

                my $foo = NetAddr::IP->new($rec->{address})->short();

                print $foo

                $mapping->{6}->{$foo} == $rec->{id};

The output is:

# given is experimental at /usr/local/bin/sflow-detect-ixp-bgp-sessions
line 106.

when is experimental at /usr/local/bin/sflow-detect-ixp-bgp-sessions line
107.

when is experimental at /usr/local/bin/sflow-detect-ixp-bgp-sessions line
108.

Can't use string ("2001:7f8:3e:0:a500:3:3886:1") as a symbol ref while
"strict refs" in use at /usr/local/bin/sflow-detect-ixp-bgp-sessions line
208.

... where line 208 is "print $foo".


Running on Debian 8.3

Any ideas?


//Rasmus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20160302/326c72b1/attachment.html>


More information about the ixpmanager mailing list