Changeset 20455 for trunk


Ignore:
Timestamp:
2010-03-26T15:27:47+01:00 (6 years ago)
Author:
juhosg
Message:

package/busybox: refresh patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/busybox/patches/460-truncated_ping_results.patch

    r19904 r20455  
    1 Index: busybox-1.15.3/networking/ping.c 
    2 =================================================================== 
    3 --- busybox-1.15.3.orig/networking/ping.c       2010-02-28 13:47:00.000000000 +0100 
    4 +++ busybox-1.15.3/networking/ping.c    2010-02-28 13:47:19.000000000 +0100 
    5 @@ -79,6 +79,7 @@ 
     1--- a/networking/ping.c 
     2+++ b/networking/ping.c 
     3@@ -79,6 +79,7 @@ static int in_cksum(unsigned short *buf, 
    64 /* simple version */ 
    75  
     
    119 static void noresp(int ign UNUSED_PARAM) 
    1210 { 
    13 @@ -91,7 +92,7 @@ 
     11@@ -91,7 +92,7 @@ static void ping4(len_and_sockaddr *lsa) 
    1412        struct sockaddr_in pingaddr; 
    1513        struct icmp *pkt; 
     
    2018        pingsock = create_icmp_socket(); 
    2119        pingaddr = lsa->u.sin; 
    22 @@ -101,7 +102,7 @@ 
     20@@ -101,7 +102,7 @@ static void ping4(len_and_sockaddr *lsa) 
    2321        pkt->icmp_type = ICMP_ECHO; 
    2422        pkt->icmp_cksum = in_cksum((unsigned short *) pkt, sizeof(packet)); 
     
    2927  
    3028        /* listen for replies */ 
    31 @@ -135,7 +136,7 @@ 
     29@@ -135,7 +136,7 @@ static void ping6(len_and_sockaddr *lsa) 
    3230        struct icmp6_hdr *pkt; 
    3331        int pingsock, c; 
     
    3836        pingsock = create_icmp6_socket(); 
    3937        pingaddr = lsa->u.sin6; 
    40 @@ -147,7 +148,7 @@ 
     38@@ -147,7 +148,7 @@ static void ping6(len_and_sockaddr *lsa) 
    4139        sockopt = offsetof(struct icmp6_hdr, icmp6_cksum); 
    4240        setsockopt(pingsock, SOL_RAW, IPV6_CHECKSUM, &sockopt, sizeof(sockopt)); 
Note: See TracChangeset for help on using the changeset viewer.