[libpri-commits] rmudgett: branch rmudgett/t312 r2231 - /team/rmudgett/t312/pri.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Mon Feb 28 15:59:54 CST 2011
Author: rmudgett
Date: Mon Feb 28 15:59:51 2011
New Revision: 2231
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2231
Log:
Add BRI to pri_dump_info_str() node type.
Modified:
team/rmudgett/t312/pri.c
Modified: team/rmudgett/t312/pri.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/t312/pri.c?view=diff&rev=2231&r1=2230&r2=2231
==============================================================================
--- team/rmudgett/t312/pri.c (original)
+++ team/rmudgett/t312/pri.c Mon Feb 28 15:59:51 2011
@@ -1734,8 +1734,10 @@
used = 0;
used = pri_snprintf(buf, used, buf_size, "Switchtype: %s\n",
pri_switch2str(ctrl->switchtype));
- used = pri_snprintf(buf, used, buf_size, "Type: %s%s\n",
- pri_node2str(ctrl->localtype), PTMP_MODE(ctrl) ? " PTMP" : "");
+ used = pri_snprintf(buf, used, buf_size, "Type: %s%s%s\n",
+ ctrl->bri ? "BRI " : "",
+ pri_node2str(ctrl->localtype),
+ PTMP_MODE(ctrl) ? " PTMP" : "");
used = pri_snprintf(buf, used, buf_size, "Remote type: %s\n",
pri_node2str(ctrl->remotetype));
used = pri_snprintf(buf, used, buf_size, "Overlap Dial: %d\n", ctrl->overlapdial);
More information about the libpri-commits
mailing list