Your message dated Fri, 13 Jun 2008 09:06:49 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: LegendI[_]: and LegendO[_]: don't work properly
has caused the Debian Bug report #43550,
regarding LegendI[_]: and LegendO[_]: don't work properly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
43550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=43550
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mrtg
Version: 2.5.4c-1

Actually any pre,post, or default option set to null doesn't work, the
following patch fixes this.
                                                        - Tom

*** /usr/bin/mrtg       Mon Nov  2 14:45:46 1998
--- mrtg        Thu Aug 26 09:17:35 1999
***************
*** 437,448 ****
        print "readcfg: rcfg $1 $2  = $3\n" if $main::DEBUG > 1; 
        $first = lc($1);
        $second = lc($2);
!       if ($second eq '^')
!         { if ($3 ne '') {$pre{$first}=$3} else {delete $pre{$first}}; next; }
!       if ($second eq '$')
!         { if ($3 ne '') {$post{$first}=$3} else {delete $post{$first}}; next; 
}
!       if ($second eq '_')
!         { if ($3 ne '') {$deflt{$first}=$3} else {delete $deflt{$first}}; 
next; }
  
        push (@routers, $second) unless grep (/^$second$/, @routers); 
        
--- 437,445 ----
        print "readcfg: rcfg $1 $2  = $3\n" if $main::DEBUG > 1; 
        $first = lc($1);
        $second = lc($2);
!       $pre{$first}=$3 if ($second eq '^');
!       $post{$first}=$3 if ($second eq '$');
!       $deflt{$first}=$3 if ($second eq '_');
  
        push (@routers, $second) unless grep (/^$second$/, @routers); 
        
***************
*** 526,531 ****
--- 523,529 ----
    }
  
    foreach $rou (@$routers) {
+     next if($rou=~/^[\$^_]$/);
      # and now for the testing
      if (! $$rcfg{"title"}{$rou}) {
        warn ("\nERROR: \"Title[$rou]\" not specified\n");



--- End Message ---
--- Begin Message ---
Hello,
I'm sorry, but the code changed so much in between today and report
date that it's impossible to adapt the patch to current version of
mrtg.

Thanks a lot for your interest,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--- End Message ---

Reply via email to