summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-01 14:22:38 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-01 14:22:38 +0000
commit3b56e264fa95afedbba57a130eb0401cd167f23a (patch)
treeb16431d2b45983ee2c58d18a2a3634ef60045ce0
parent29f5d2357e1a08a14fe223200817708cb7e62ad6 (diff)
Dahdi.pm: the sample code should actually work.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6055 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--xpp/perl_modules/Dahdi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi.pm b/xpp/perl_modules/Dahdi.pm
index a191556..93ce25b 100644
--- a/xpp/perl_modules/Dahdi.pm
+++ b/xpp/perl_modules/Dahdi.pm
@@ -22,7 +22,7 @@ hardware and loaded Dahdi devices.
# Listing channels in analog spans:
use Dahdi;
# scans system:
- my @xbuses = Dahdi::spans();
+ my @spans = Dahdi::spans();
for my $span (@spans) {
next if ($span->is_digital);
$span->num. " - [". $span->type ."] ". $span->name. "\n";