diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-12 21:13:04 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-12 21:13:04 +0200 |
commit | e5afc25114370c76ab414a45cf1c8b5597b266dd (patch) | |
tree | de3215d9fade4c19c015e7ecfee616104a24c224 /package/busybox/busybox-1.14.2-udhcpd.patch | |
parent | 01674622186a8bd52f9410bb1120be2f82de733c (diff) | |
download | buildroot-novena-e5afc25114370c76ab414a45cf1c8b5597b266dd.tar.gz buildroot-novena-e5afc25114370c76ab414a45cf1c8b5597b266dd.zip |
busybox: additional 1.14.2 patches
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.14.2-udhcpd.patch')
-rw-r--r-- | package/busybox/busybox-1.14.2-udhcpd.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.14.2-udhcpd.patch b/package/busybox/busybox-1.14.2-udhcpd.patch new file mode 100644 index 000000000..a1502b41f --- /dev/null +++ b/package/busybox/busybox-1.14.2-udhcpd.patch @@ -0,0 +1,12 @@ +diff -urpN busybox-1.14.2/networking/udhcp/files.c busybox-1.14.2-udhcpd/networking/udhcp/files.c +--- busybox-1.14.2/networking/udhcp/files.c 2009-06-22 00:40:29.000000000 +0200 ++++ busybox-1.14.2-udhcpd/networking/udhcp/files.c 2009-07-07 14:58:39.000000000 +0200 +@@ -420,7 +420,7 @@ void FAST_FUNC read_leases(const char *f + continue; + /* NB: add_lease takes "relative time", IOW, + * lease duration, not lease deadline. */ +- if (!(add_lease(lease.chaddr, lease.yiaddr, expires, lease.hostname))) { ++ if (!(add_lease(lease.chaddr, lease.yiaddr, expires, NULL /* was lease.hostname. bug in add_lease, disabled */ ))) { + bb_error_msg("too many leases while loading %s", file); + break; + } |