X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fgenerate-raddb;h=1617dc10f1d188ba05f4c1782adcae6cfd96b56e;hp=af21c05a8a66f76a07d6022605ce609f912e342b;hb=b71b1576c68bc40ad26592b354feace37a029f0e;hpb=5e05724a635a22776f1b973f5d7e77989da4e048 diff --git a/bin/generate-raddb b/bin/generate-raddb index af21c05a8..1617dc10f 100755 --- a/bin/generate-raddb +++ b/bin/generate-raddb @@ -10,9 +10,10 @@ use vars qw(%attrib); END while (<>) { - next if /^(#|\s*$|\$INCLUDE\s+)/; - next if /^(VALUE|VENDOR|BEGIN\-VENDOR|END\-VENDOR)\s+/; - /^(ATTRIBUTE|ATTRIB_NMC)\s+([\w\-\/]+)\s+/ or die $_; + next if /^\s*$/; + next if /^\s*(#|\$INCLUDE\s+)/; + next if /^(VALUE|VENDOR|BEGIN\-(VENDOR|TLV)|END\-(VENDOR|TLV))\s+/; + /^(ATTRIBUTE|ATTRIB_NMC)\s+([\w\-\/\.]+)\s+/ or die $_; $attrib = $2; $dbname = lc($2); $dbname =~ s/[\-\/]/_/g; @@ -40,11 +41,11 @@ foreach ( sort keys %hash ) { print < 'Authentication-Type', + #(RADIATOR?) + #'authentication_type' => 'Authentication-Type', - #wtxs (dunno) - #'radius_operator' => 'Radius-Operator', + #Canopy? (Kellin) + 'motorola_canopy_gateway' => 'Motorola-Canopy-Gateway', );