[mrtg] cfgmaker --descint option

Merton Campbell Crockett mcc at TO.GD-ES.COM
Fri Oct 27 20:28:05 MEST 2000


I am by no means a Perl wizard but there appears to be a problem with this
snippet of code in cfgmaker.

	if (defined $$opt{descint}) {
	   $refdesc = '';
	   $refsimp = $iftype;
	   $refsimp = ~ s/^$/$$i{RDescr}/;
	}

This results in the "ethernetCsmacd" ($iftype) being displayed in the Title
and PageTop instead of "FastEthernet0/0" ($$i{RDescr}) as I had expected.

This occurred with 2.9.2, 2.9.3, and 2.9.4 releases.

Merton Campbell Crockett



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list