[libss7-commits] mattf: trunk r143 - /trunk/isup.c
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Fri Mar 7 16:39:25 CST 2008
Author: mattf
Date: Fri Mar 7 16:39:25 2008
New Revision: 143
URL: http://svn.digium.com/view/libss7?view=rev&rev=143
Log:
Update continuity message indication to be correct
Modified:
trunk/isup.c
Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=143&r1=142&r2=143
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri Mar 7 16:39:25 2008
@@ -322,19 +322,19 @@
con>>=2;
switch (con & 0x03) {
case 0:
- continuity = "Check not required (0)";
+ continuity = "Check not required";
break;
case 1:
- continuity = "Check required on this circuit (1)";
+ continuity = "Check required on this circuit";
break;
case 2:
- continuity = "Check required on previous circuit (2)";
+ continuity = "Check performed on a previous circuit";
break;
case 3:
- continuity = "spare (3)";
- break;
- }
- ss7_message(ss7, "\t\t\tContinuity Check: %s\n", continuity);
+ continuity = "spare";
+ break;
+ }
+ ss7_message(ss7, "\t\t\tContinuity Check: %s (%d)\n", continuity, con & 0x3);
con>>=2;
con &= 0x01;
More information about the libss7-commits
mailing list