summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorAleksey Demakov <a.demakov@pengutronix.de>2008-03-20 17:22:48 +0000
committerAleksey Demakov <a.demakov@pengutronix.de>2008-03-20 17:22:48 +0000
commit4a91dcfa5dd50232b980dac48263297e18fad9fd (patch)
tree0fe3526af2acf5364f5b393ee7bab0e8b740e159 /patches
parentc1ff7b424f250a5ed6c12aa460863a9cd02d0a30 (diff)
downloadptxdist-4a91dcfa5dd50232b980dac48263297e18fad9fd.tar.gz
ptxdist-4a91dcfa5dd50232b980dac48263297e18fad9fd.tar.xz
another upstream busybox fix
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7861 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r--patches/busybox-1.9.1/generic/busybox-1.9.1-udhcp.patch20
-rw-r--r--patches/busybox-1.9.1/generic/series1
2 files changed, 21 insertions, 0 deletions
diff --git a/patches/busybox-1.9.1/generic/busybox-1.9.1-udhcp.patch b/patches/busybox-1.9.1/generic/busybox-1.9.1-udhcp.patch
new file mode 100644
index 000000000..340d6b451
--- /dev/null
+++ b/patches/busybox-1.9.1/generic/busybox-1.9.1-udhcp.patch
@@ -0,0 +1,20 @@
+Subject: busybox 1.9.1 fixes
+From: http://busybox.net/downloads/fixes-1.9.1
+
+---
+ networking/udhcp/files.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: busybox-1.9.1/networking/udhcp/files.c
+===================================================================
+--- busybox-1.9.1.orig/networking/udhcp/files.c
++++ busybox-1.9.1/networking/udhcp/files.c
+@@ -167,7 +167,7 @@ static int read_opt(const char *const_li
+ if (!opt)
+ return 0;
+
+- idx = index_in_strings(opt, dhcp_option_strings); /* NB: was strcasecmp! */
++ idx = index_in_strings(dhcp_option_strings, opt); /* NB: was strcasecmp! */
+ if (idx < 0)
+ return 0;
+ option = &dhcp_options[idx];
diff --git a/patches/busybox-1.9.1/generic/series b/patches/busybox-1.9.1/generic/series
index aee8af7cf..7ab40b0d3 100644
--- a/patches/busybox-1.9.1/generic/series
+++ b/patches/busybox-1.9.1/generic/series
@@ -2,3 +2,4 @@ busybox-1.9.1-lineedit.patch
busybox-1.9.1-init.patch
busybox-1.9.1-patch_permissions.patch
busybox-1.9.1-httpd-POST.patch
+busybox-1.9.1-udhcp.patch