diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-09-28 12:38:46 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-09-28 12:38:46 +0000 |
commit | 91750d01a7a0b56a880a147a825d097aaac7f53d (patch) | |
tree | 20de5267e6400c96be022906c833acdb5f7eb6d0 /package/busybox/patches/241-udhcpc-oversized_packets.patch | |
parent | 6fa03d63d4d34ef38a5fde5292cb7f65c06d56b2 (diff) | |
download | mtk-20170518-91750d01a7a0b56a880a147a825d097aaac7f53d.zip mtk-20170518-91750d01a7a0b56a880a147a825d097aaac7f53d.tar.gz mtk-20170518-91750d01a7a0b56a880a147a825d097aaac7f53d.tar.bz2 |
busybox: update to v1.14.4 (closes: #5619)
SVN-Revision: 17782
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 6019297..405a7a5 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 FAST_FUNC udhcp_checksum(void * +@@ -120,6 +120,10 @@ uint16_t FAST_FUNC udhcp_checksum(void * return ~sum; } @@ -11,7 +11,7 @@ /* Construct a ip/udp header for a packet, send packet */ int FAST_FUNC udhcp_send_raw_packet(struct dhcpMessage *payload, -@@ -126,11 +130,7 @@ int FAST_FUNC udhcp_send_raw_packet(stru +@@ -132,11 +136,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) { -@@ -140,7 +140,7 @@ int FAST_FUNC udhcp_send_raw_packet(stru +@@ -146,7 +146,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); -@@ -157,23 +157,18 @@ int FAST_FUNC udhcp_send_raw_packet(stru +@@ -163,23 +163,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: -@@ -225,8 +220,7 @@ int FAST_FUNC udhcp_send_kernel_packet(s +@@ -231,8 +226,7 @@ int FAST_FUNC udhcp_send_kernel_packet(s goto ret_close; } |