[mrtg] MRTG 2.9.0pre6b

Jason Frisvold Jason.Frisvold at corp.ptd.net
Tue Jul 18 17:44:27 MEST 2000


Can someone tell me the reason for the following code in the new mrtg?  I'm
no perl guru, so I have no idea...

    if (exists $$rcfg{'legendo'}{$router}) {
        if ($$rcfg{'legendo'}{$router} ne "") {
            print STDERR "\n$$cfg{'imagedir'}\n";
            print STDERR "\n$$cfg{'htmldir'}\n";

            $OutCo="<FONT COLOR=\"$$rcfg{'rgb2'}{$router}\">".
              "$$rcfg{'legendo'}{$router}</FONT>";
        }
    } else {
        $OutCo="<FONT COLOR=\"$$rcfg{'rgb2'}{$router}\">".
          &$LOC("&nbsp;Out:</FONT>");
    }


Thanks,

---------------------------
Jason H. Frisvold
Head ATM Engineer
Engineering Dept.
Penteledata
friz at corp.ptd.net
---------------------------
"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former." - Albert Einstein

--
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