[libss7-commits] mattf: branch mattf/bug13495 r245 - /team/mattf/bug13495/isup_masq.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Fri Dec 12 15:33:40 CST 2008


Author: mattf
Date: Fri Dec 12 15:33:40 2008
New Revision: 245

URL: http://svn.digium.com/view/libss7?view=rev&rev=245
Log:
Take some of this code out for now...

Modified:
    team/mattf/bug13495/isup_masq.c

Modified: team/mattf/bug13495/isup_masq.c
URL: http://svn.digium.com/view/libss7/team/mattf/bug13495/isup_masq.c?view=diff&rev=245&r1=244&r2=245
==============================================================================
--- team/mattf/bug13495/isup_masq.c (original)
+++ team/mattf/bug13495/isup_masq.c Fri Dec 12 15:33:40 2008
@@ -96,6 +96,7 @@
 	return i;
 }
 
+#if 0
 static void isup_ip_link_down(struct mtp2 *mtp2)
 {
 	ss7_event *e = ss7_next_empty_event(mtp2->master);
@@ -108,6 +109,7 @@
 	e->e = MTP2_LINK_DOWN;
 	e->gen.data = mtp2;
 }
+#endif
 
 int isup_ip_receive(struct mtp2 *mtp2)
 {
@@ -122,10 +124,11 @@
 
 	res = read(mtp2->fd, msg, len);
 
+#if 0
 	if (res == 0) {
 		isup_ip_link_down(mtp2);
 	}
-
+#endif
 	if (res < 0) {
 		ss7_message(mtp2->master, "Read problem from socket: %s\n", strerror(errno));
 		return -1;




More information about the libss7-commits mailing list