[libss7-commits] mattf: branch mattf/bug13495 r231 - /team/mattf/bug13495/isup.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Fri Dec 5 16:52:47 CST 2008


Author: mattf
Date: Fri Dec  5 16:52:46 2008
New Revision: 231

URL: http://svn.digium.com/view/libss7?view=rev&rev=231
Log:
Make sure we set the optparm filed for ANSI GRA and GRS

Modified:
    team/mattf/bug13495/isup.c

Modified: team/mattf/bug13495/isup.c
URL: http://svn.digium.com/view/libss7/team/mattf/bug13495/isup.c?view=diff&rev=231&r1=230&r2=231
==============================================================================
--- team/mattf/bug13495/isup.c (original)
+++ team/mattf/bug13495/isup.c Fri Dec  5 16:52:46 2008
@@ -2905,6 +2905,10 @@
 			varparams = 2;
 		} else if (messages[ourmessage].messagetype == ISUP_RLC) {
 			optparams = 0;
+		} else if (messages[ourmessage].messagetype == ISUP_GRS) {
+			optparams = 1;
+		} else if (messages[ourmessage].messagetype == ISUP_GRA) {
+			optparams = 1;
 		}
 	}
 
@@ -3185,6 +3189,10 @@
 			parms = ansi_iam_params;
 		} else if (messages[ourmessage].messagetype == ISUP_RLC) {
 			optparams = 0;
+		} else if (messages[ourmessage].messagetype == ISUP_GRS) {
+			optparams = 1;
+		} else if (messages[ourmessage].messagetype == ISUP_GRA) {
+			optparams = 1;
 		}
 	}
 




More information about the libss7-commits mailing list