[freeside-commits] branch FREESIDE_4_BRANCH updated. a2152e2a317c71ea265d077fa224df18cb01218f
Ivan
ivan at 420.am
Sun Sep 25 11:04:28 PDT 2016
The branch, FREESIDE_4_BRANCH has been updated
via a2152e2a317c71ea265d077fa224df18cb01218f (commit)
from 7387ac8bf75c37057a4f590b4e2e4038e42ceae7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a2152e2a317c71ea265d077fa224df18cb01218f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Sep 25 11:04:27 2016 -0700
current script to regen raddb
diff --git a/bin/generate-raddb b/bin/generate-raddb
index af21c05..1617dc1 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 <<END;
- #NETC.NET.AU (RADIATOR?)
- 'authentication_type' => 'Authentication-Type',
+ #(RADIATOR?)
+ #'authentication_type' => 'Authentication-Type',
- #wtxs (dunno)
- #'radius_operator' => 'Radius-Operator',
+ #Canopy? (Kellin)
+ 'motorola_canopy_gateway' => 'Motorola-Canopy-Gateway',
);
-----------------------------------------------------------------------
Summary of changes:
bin/generate-raddb | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list