1 package FS::part_export::sqlradius_withdomain;
3 use vars qw(@ISA %info);
5 use FS::part_export::sqlradius;
7 tie my %options, 'Tie::IxHash', %FS::part_export::sqlradius::options;
9 $options{'strip_tld'} = { type => 'checkbox',
10 label => 'Strip TLD from realm names',
15 'desc' => 'Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms',
16 'options' => \%options,
18 'default_svc_class' => 'Internet',
19 'notes' => $FS::part_export::sqlradius::notes1.
20 'This export exports domains to RADIUS realms (see also '.
22 $FS::part_export::sqlradius::notes2
25 @ISA = qw(FS::part_export::sqlradius);
28 my($self, $svc_acct) = (shift, shift);
29 my $email = $svc_acct->email;
30 if ( $self->option('strip_tld') ) {