[Pkg-voip-commits] r3777 - in twinkle/trunk/debian: . patches

msp at alioth.debian.org msp at alioth.debian.org
Thu Jul 19 20:08:46 UTC 2007


Author: msp
Date: 2007-07-19 20:08:46 +0000 (Thu, 19 Jul 2007)
New Revision: 3777

Added:
   twinkle/trunk/debian/patches/icmp.patch
Modified:
   twinkle/trunk/debian/changelog
Log:
* debian/patches/icmp.patch
   - ICMP messages are not handled

Modified: twinkle/trunk/debian/changelog
===================================================================
--- twinkle/trunk/debian/changelog	2007-07-19 19:22:19 UTC (rev 3776)
+++ twinkle/trunk/debian/changelog	2007-07-19 20:08:46 UTC (rev 3777)
@@ -1,9 +1,12 @@
 twinkle (1:1.0.1-2) UNRELEASED; urgency=low
-
+ 
   * NOT RELEASED YET
 
- -- Mark Purcell <msp at debian.org>  Sun, 20 May 2007 17:45:13 +0100
+  * debian/patches/icmp.patch
+     - ICMP messages are not handled
 
+ -- Mark Purcell <msp at debian.org>  Thu, 19 Jul 2007 20:37:58 +0100
+
 twinkle (1:1.0.1-1) unstable; urgency=low
 
   * New upstream release

Added: twinkle/trunk/debian/patches/icmp.patch
===================================================================
--- twinkle/trunk/debian/patches/icmp.patch	                        (rev 0)
+++ twinkle/trunk/debian/patches/icmp.patch	2007-07-19 20:08:46 UTC (rev 3777)
@@ -0,0 +1,20 @@
+Index: src/sockets/socket.cpp
+===================================================================
+--- src/sockets/socket.cpp	(revision 327)
++++ src/sockets/socket.cpp	(working copy)
+@@ -18,6 +18,7 @@
+ 
+ #include <cstdio>
+ #include <cerrno>
++#include <cstring>
+ #include <sys/un.h>
+ #include "twinkle_config.h"
+ #include "socket.h"
+@@ -184,6 +185,7 @@
+ 	
+ 	// Initialize message header to receive the ancillary data for
+ 	// an ICMP message.
++	memset(&msgh, 0, sizeof(struct msghdr));
+ 	msgh.msg_control = buf;
+ 	msgh.msg_controllen = 256;
+ 	msgh.msg_name = &dest_addr;




More information about the Pkg-voip-commits mailing list