SOURCES: mtr-noraw.patch - fix it so mtr becomes usable again

arekm arekm at pld-linux.org
Wed Oct 1 08:16:09 CEST 2008


Author: arekm                        Date: Wed Oct  1 06:16:09 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix it so mtr becomes usable again

---- Files affected:
SOURCES:
   mtr-noraw.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/mtr-noraw.patch
diff -u SOURCES/mtr-noraw.patch:1.3 SOURCES/mtr-noraw.patch:1.4
--- SOURCES/mtr-noraw.patch:1.3	Fri Sep  5 15:32:55 2008
+++ SOURCES/mtr-noraw.patch	Wed Oct  1 08:16:03 2008
@@ -61,4 +61,21 @@
    recvsock4 = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
    if (recvsock4 < 0)
      return -1;
-Tylko w mtr-0.74.new/: net.c~
+--- mtr/net.c~	2008-10-01 08:04:08.602202495 +0200
++++ mtr/net.c	2008-10-01 08:12:30.956110370 +0200
+@@ -905,7 +905,6 @@
+ 
+ int net_selectsocket(void)
+ {
+-#if !defined(IP_HDRINCL) && defined(IP_TOS) && defined(IP_TTL)
+   switch ( mtrtype ) {
+   case IPPROTO_ICMP:
+     sendsock4 = sendsock4_icmp;
+@@ -914,7 +913,6 @@
+     sendsock4 = sendsock4_udp;
+     break;
+   }
+-#endif
+   if (sendsock4 < 0)
+     return -1;
+ #ifdef ENABLE_IPV6
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mtr-noraw.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list