]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
comment out broken code which re-wrote OIDs to be broken.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 8 Apr 2022 14:27:17 +0000 (10:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 8 Apr 2022 19:48:53 +0000 (15:48 -0400)
We now trust the author to write the OIDs correctly, and don't
try to "fix" them.

scripts/dict/format.pl

index 316a83bd0d6c013bc50d6961f5d44402a163de1a..eaab1e67565a06be417f38cb8c5550033acab509 100755 (executable)
@@ -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;