diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-28 04:57:27 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-28 04:57:27 +0000 |
commit | 13e2bb5620e264f05235dd18b0923d804828e025 (patch) | |
tree | 3d8f9f4a555acacdfa6d31db4c9bceb2a3e91e66 /package | |
parent | b71d24d032e258e9343108e77fde06c6f5187113 (diff) |
busybox: udhcpc patch for 1.12.0
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/busybox-1.12.0-dhcp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.12.0-dhcp.patch b/package/busybox/busybox-1.12.0-dhcp.patch new file mode 100644 index 000000000..b8a9af665 --- /dev/null +++ b/package/busybox/busybox-1.12.0-dhcp.patch @@ -0,0 +1,15 @@ +--- busybox-1.12.0/networking/udhcp/dhcpc.c Wed Aug 6 00:55:58 2008 ++++ busybox-1.12.0-dhcp/networking/udhcp/dhcpc.c Thu Aug 28 00:05:23 2008 +@@ -259,9 +259,10 @@ + if (opt & OPT_o) + client_config.no_default_options = 1; + while (list_O) { +- int n = index_in_strings(dhcp_option_strings, llist_pop(&list_O)); ++ char *optstr = llist_pop(&list_O); ++ int n = index_in_strings(dhcp_option_strings, optstr); + if (n < 0) +- bb_error_msg_and_die("unknown option '%s'", list_O->data); ++ bb_error_msg_and_die("unknown option '%s'", optstr); + n = dhcp_options[n].code; + client_config.opt_mask[n >> 3] |= 1 << (n & 7); + } |