From a81a43c9b615b370714bcd6b2ed10ceb174991c5 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 23 Oct 2011 14:28:40 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10266 17933a7a-c749-41c5-a318-cba88f637d49 --- xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm b/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm index e7bfb72..146b097 100644 --- a/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm +++ b/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm @@ -30,7 +30,7 @@ sub get_sorted_xbuses(@) { 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;