[svn-commits] tzafrir: tools/trunk r10266 - /tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Oct 23 09:28:43 CDT 2011


Author: tzafrir
Date: Sun Oct 23 09:28:40 2011
New Revision: 10266

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10266
Log:
xpp_order generator: ignore EC XPD

The xpp_order configuration generator should only loop over telephony
devices, not all spans.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm

Modified: tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm?view=diff&rev=10266&r1=10265&r2=10266
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm Sun Oct 23 09:28:40 2011
@@ -30,7 +30,7 @@
 	my @sorted_xbuses;
 	foreach my $xbus (@xbuses) {
 		my $last_spanno;
-		foreach my $xpd ($xbus->xpds) {
+		foreach my $xpd (Dahdi::Xpp::Xpd::telephony_devs($xbus->xpds())) {
 			my $spanno = $xpd->spanno;
 			if(!$spanno) {
 				printf STDERR "%s: Is not registered. Skipping.\n", $xpd->fqn;




More information about the svn-commits mailing list