[zaptel-commits] tzafrir: branch 1.4 r3467 - /branches/1.4/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Dec 13 12:58:10 CST 2007


Author: tzafrir
Date: Thu Dec 13 12:58:09 2007
New Revision: 3467

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3467
Log:
Show zaptel sync master in /proc/zaptel/N . Closes issue #10329 .

Modified:
    branches/1.4/zaptel-base.c

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3467&r1=3466&r2=3467
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Thu Dec 13 12:58:09 2007
@@ -532,6 +532,9 @@
 		len += sprintf(page + len, "\"%s\"", spans[span]->desc);
 	else
 		len += sprintf(page + len, "\"\"");
+
+	if(spans[span] == master)
+		len += sprintf(page + len, " (MASTER)");
 
 	if (spans[span]->lineconfig) {
 		/* framing first */




More information about the zaptel-commits mailing list