Great fix it up, who put those in there anyway? I just need it to work for
my environment.  And I have been told you don't use juniper or Cisco and my
issues are lower priority.
On Feb 6, 2014 11:09 PM, "barryo" <notifications@github.com> wrote:

> In tools/runtime/l2database/update-l2database.pl:
>
> > -		'dot1qTpFdbPort'	=> '.1.3.6.1.2.1.17.7.1.2.2.1.2',
> > -		'dot1dTpFdbPort'	=> '.1.3.6.1.2.1.17.4.3.1.2',
> > -		'dot1dTpFdbAddress'	=> '.1.3.6.1.2.1.17.4.3.1.1',
> > -		'jnxExVlanTag'		=> '.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5',
> > -	};
> > -
> > -	$debug && print STDERR "DEBUG: $host: started query process\n";
> > -
> > -	my $ifindex = snmpwalk2hash($host, $snmpcommunity, $oids->{ifDescr}) || die "$host: cannot read ifDescr";
> > -	my $interfaces = snmpwalk2hash($host, $snmpcommunity, $oids->{dot1dBasePortIfIndex}) || die "$host: cannot read dot1dBasePortIfIndex";
> > -
> > -	$debug && print STDERR "DEBUG: $host: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (".$oids->{jnxExVlanTag}.")\n";
> > -	$vlanmapping = snmpwalk2hash($host, $snmpcommunity, $oids->{jnxExVlanTag});
> > +
> > +	$debug && print STDERR "DEBUG174: processing $host\n";
> > +
>
> Eek. Don't hardcode line numbers. They'll just change on the next edit [image:
> :grimacing:]
>
> Perl supports the special literal<http://search.cpan.org/%7Erjbs/perl-5.18.2/pod/perldata.pod#Special_Literals>
> __LINE__ for this.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/inex/IXP-Manager/pull/131/files#r9531331>
> .
>