[dahdi-commits] tzafrir: tools/trunk r5706 - in /tools/trunk/xpp: ./ perl_modules/Dahdi/Xpp/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Jan 19 06:46:00 CST 2009
Author: tzafrir
Date: Mon Jan 19 06:45:59 2009
New Revision: 5706
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5706
Log:
xpp_sync xpd order fix.
Modified:
tools/trunk/xpp/perl_modules/Dahdi/Xpp/Xpd.pm
tools/trunk/xpp/xpp_sync
Modified: tools/trunk/xpp/perl_modules/Dahdi/Xpp/Xpd.pm
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Xpp/Xpd.pm?view=diff&rev=5706&r1=5705&r2=5706
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Xpp/Xpd.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Xpp/Xpd.pm Mon Jan 19 06:45:59 2009
@@ -163,7 +163,10 @@
my $span = $self->xpd_getattr('span');
$self->{SPANNO} = $span;
$self->{TYPE} = $type;
- $self->{IS_BRI} = ($type =~ /BRI_(NT|TE)/);
+ if($type =~ /BRI_(NT|TE)/) {
+ $self->{IS_BRI} = 1;
+ $self->{TERMTYPE} = $1;
+ }
$self->{IS_PRI} = ($type =~ /[ETJ]1/);
$self->{IS_DIGITAL} = ( $self->{IS_BRI} || $self->{IS_PRI} );
Dahdi::Xpp::Line->create_all($self, $procdir);
Modified: tools/trunk/xpp/xpp_sync
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/xpp/xpp_sync?view=diff&rev=5706&r1=5705&r2=5706
==============================================================================
--- tools/trunk/xpp/xpp_sync (original)
+++ tools/trunk/xpp/xpp_sync Mon Jan 19 06:45:59 2009
@@ -53,7 +53,7 @@
}
my @xpd_prio = Dahdi::Xpp::Xpd::xpds_by_rank(@good_xpds);
#Dahdi::Xpp::Xpd::show_xpd_rank(@xpd_prio);
- return @good_xpds;
+ return @xpd_prio;
}
sub do_select(@) {
More information about the dahdi-commits
mailing list