summaryrefslogtreecommitdiff
path: root/xpp/perl_modules/Dahdi/Xpp
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-29 16:57:48 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-29 16:57:48 +0000
commit0fd300bf14ba0826ec96017886f3d26530c4368e (patch)
tree8cae5d7e1c7eeb5a476a6d1b0bd93a59b0fc5712 /xpp/perl_modules/Dahdi/Xpp
parent5156247998b357c16e8d634f2f938d218ea4cf12 (diff)
dahdi_genconf configuration separated from the kernel config.
* Using /etc/dahdi/genconf_parameters. * A shiny new format (sample file included). * xpp_fxloader is configured from /etc/dahdi/init.conf (like the init.d script). * Yet some more string cleanups. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4484 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/perl_modules/Dahdi/Xpp')
-rw-r--r--xpp/perl_modules/Dahdi/Xpp/Xpd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Xpp/Xpd.pm b/xpp/perl_modules/Dahdi/Xpp/Xpd.pm
index 9e22ed2..d85ae68 100644
--- a/xpp/perl_modules/Dahdi/Xpp/Xpd.pm
+++ b/xpp/perl_modules/Dahdi/Xpp/Xpd.pm
@@ -114,7 +114,7 @@ sub new($$) {
}
$self->{TYPE} = $type;
$self->{IS_BRI} = ($type =~ /BRI_(NT|TE)/);
- $self->{IS_PRI} = ($type =~ /[ETJ]1_(NT|TE)/);
+ $self->{IS_PRI} = ($type =~ /[ETJ]1/);
$self->{IS_DIGITAL} = ( $self->{IS_BRI} || $self->{IS_PRI} );
Dahdi::Xpp::Line->create_all($self, $procdir);
return $self;