aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/241-udhcpc-oversized_packets.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-25 17:15:39 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-25 17:15:39 +0000
commit730226709b5aff5800c938b5bae7c9fd86cffeb0 (patch)
tree0f3d3144dd3e93a0865e6f391a65a5cb6fad136a /package/busybox/patches/241-udhcpc-oversized_packets.patch
parent45f61a72684e63899f81c51171b650933e2ea2e7 (diff)
downloadupstream-730226709b5aff5800c938b5bae7c9fd86cffeb0.tar.gz
upstream-730226709b5aff5800c938b5bae7c9fd86cffeb0.tar.bz2
upstream-730226709b5aff5800c938b5bae7c9fd86cffeb0.zip
[package] busybox: update to v1.13.4 (closes: #4279)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16063 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.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/busybox/patches/241-udhcpc-oversized_packets.patch b/package/busybox/patches/241-udhcpc-oversized_packets.patch
index 7eda8c1e35..6019297b24 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 @@ uint16_t udhcp_checksum(void *addr, int
+@@ -114,6 +114,10 @@ uint16_t FAST_FUNC udhcp_checksum(void *
return ~sum;
}
@@ -10,8 +10,8 @@
+}
/* Construct a ip/udp header for a packet, send packet */
- int udhcp_send_raw_packet(struct dhcpMessage *payload,
-@@ -125,11 +129,7 @@ int udhcp_send_raw_packet(struct dhcpMes
+ int FAST_FUNC udhcp_send_raw_packet(struct dhcpMessage *payload,
+@@ -126,11 +130,7 @@ int FAST_FUNC udhcp_send_raw_packet(stru
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 @@ int udhcp_send_raw_packet(struct dhcpMes
+@@ -140,7 +140,7 @@ int FAST_FUNC udhcp_send_raw_packet(stru
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 @@ int udhcp_send_raw_packet(struct dhcpMes
+@@ -157,23 +157,18 @@ int FAST_FUNC udhcp_send_raw_packet(stru
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 @@ int udhcp_send_kernel_packet(struct dhcp
+@@ -225,8 +220,7 @@ int FAST_FUNC udhcp_send_kernel_packet(s
goto ret_close;
}