[mrtg] Re: MRTG losing Bytes in Octet string

Takumi Yamane yamtak at b-session.com
Fri May 28 10:31:59 MEST 2004

On Fri, 28 May 2004 10:03:36 +0200, Rene Buechler wrote 
in <OF22DD81DF.4EBD3A4A-ONC1256EA2.002A89F2 at email.zurich.com>:
> I was able to find inside the mrtg module the array 
> (@ ret and @final) where the octet string is stored. 
> I've found that when inside the octet string is a hex value of 
> 0x0a or 0x0d, this byte is allready lost.

Does it work if you commented out line 1934 of mrtg script?

  map{ $_ =~ s/\n|\r//g if defined $_ } @res;

It surely removes CR/LF before calling Conversion code.

Takumi Yamane <yamtak at b-session.com>

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