diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2009-02-21 15:07:45 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2009-02-21 15:07:45 +0000 |
commit | e219cb67936b0f82416310692b8b82137dff769a (patch) | |
tree | c28c21f6a5b27fa87d7daf9d62cab21459fc8573 /package/busybox/patches/241-udhcpc-oversized_packets.patch | |
parent | 9344a58871154a7ba78e49530aa585f5c1512433 (diff) | |
download | upstream-e219cb67936b0f82416310692b8b82137dff769a.tar.gz upstream-e219cb67936b0f82416310692b8b82137dff769a.tar.bz2 upstream-e219cb67936b0f82416310692b8b82137dff769a.zip |
busybox: refresh busybox patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14590 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/241-udhcpc-oversized_packets.patch')
-rw-r--r-- | package/busybox/patches/241-udhcpc-oversized_packets.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/busybox/patches/241-udhcpc-oversized_packets.patch b/package/busybox/patches/241-udhcpc-oversized_packets.patch index 6d5ec3607d..7eda8c1e35 100644 --- a/package/busybox/patches/241-udhcpc-oversized_packets.patch +++ b/package/busybox/patches/241-udhcpc-oversized_packets.patch @@ -1,6 +1,6 @@ --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c -@@ -114,6 +114,10 @@ +@@ -114,6 +114,10 @@ uint16_t udhcp_checksum(void *addr, int return ~sum; } @@ -11,7 +11,7 @@ /* Construct a ip/udp header for a packet, send packet */ int udhcp_send_raw_packet(struct dhcpMessage *payload, -@@ -125,11 +129,7 @@ +@@ -125,11 +129,7 @@ int udhcp_send_raw_packet(struct dhcpMes int fd; int result = -1; const char *msg; @@ -24,7 +24,7 @@ fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); if (fd < 0) { -@@ -139,7 +139,7 @@ +@@ -139,7 +139,7 @@ int udhcp_send_raw_packet(struct dhcpMes memset(&dest, 0, sizeof(dest)); memset(&packet, 0, sizeof(packet)); @@ -33,7 +33,7 @@ dest.sll_family = AF_PACKET; dest.sll_protocol = htons(ETH_P_IP); -@@ -156,23 +156,18 @@ +@@ -156,23 +156,18 @@ int udhcp_send_raw_packet(struct dhcpMes packet.ip.daddr = dest_ip; packet.udp.source = htons(source_port); packet.udp.dest = htons(dest_port); @@ -63,7 +63,7 @@ (struct sockaddr *) &dest, sizeof(dest)); msg = "sendto"; ret_close: -@@ -224,8 +219,7 @@ +@@ -224,8 +219,7 @@ int udhcp_send_kernel_packet(struct dhcp goto ret_close; } |