From: Alan T. DeKok Date: Wed, 4 Oct 2023 00:54:13 +0000 (-0400) Subject: we don't support vendor name as a flag. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfac394ecac9058b538cdfcb0596feea668e0ca9;p=thirdparty%2Ffreeradius-server.git we don't support vendor name as a flag. --- diff --git a/scripts/dict/format.pl b/scripts/dict/format.pl index 3051e2a9b50..2b2cca246d6 100755 --- a/scripts/dict/format.pl +++ b/scripts/dict/format.pl @@ -197,20 +197,7 @@ while (@ARGV) { my $value = $2; my $type = $3; - my $stuff = $4; - - # - # See if it's old format, with the vendor at the end of - # the line. If so, make it the new format. - # - if (defined $vendor && $stuff =~ /$vendor/) { - if ($begin_vendor == 0) { - push @output, "BEGIN-VENDOR\t$vendor\n\n"; - $begin_vendor = 1; - } - $stuff =~ s/$vendor//; - $stuff =~ s/\s+$//; - } + my $refs = $4; # # The numerical value doesn't start with ".". @@ -231,7 +218,7 @@ while (@ARGV) { # } # } - push @output, "ATTRIBUTE\t$name$tabs$value\t$type$stuff\n"; + push @output, "ATTRIBUTE\t$name$tabs$value\t$type$refs\n"; next; }