From: Alan T. DeKok Date: Fri, 8 Apr 2022 14:27:17 +0000 (-0400) Subject: comment out broken code which re-wrote OIDs to be broken. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8e8e6c71daa57158d2de75d2d3a3cc3bf97ae1a;p=thirdparty%2Ffreeradius-server.git comment out broken code which re-wrote OIDs to be broken. We now trust the author to write the OIDs correctly, and don't try to "fix" them. --- diff --git a/scripts/dict/format.pl b/scripts/dict/format.pl index 316a83bd0d..eaab1e6756 100755 --- a/scripts/dict/format.pl +++ b/scripts/dict/format.pl @@ -214,14 +214,17 @@ while (@ARGV) { # one, then just print out the child values. # # Otherwise, remember this attribute as the new "previous" + # + # @todo - these checks get things wrong, so they're commented + # out until we have time to go fix them. # - if ($value !~ /^\./) { - if ($value =~ /^$previous(\..+)$/) { - $value = $1; - } else { - $previous = $value; - } - } +# if ($value !~ /^\./) { +# if ($value =~ /^$previous(\..+)$/) { +# $value = $1; +# } else { +# $previous = $value; +# } +# } push @output, "ATTRIBUTE\t$name$tabs$value\t$type$stuff\n"; next;