diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-11-10 08:25:27 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-11-11 21:42:26 +0100 |
commit | 8b56bfe8385826c6417dbc8dc731ad535b0de3b5 (patch) | |
tree | 7fc55d60ba6fdcd9bedbccd79d6b8eebe0a618e9 /package/dropbear/dropbear-2011.54-no-ipv6.patch | |
parent | a1dd178f3a11a0f19aaf4fe76c61869ea8836a55 (diff) | |
download | buildroot-novena-8b56bfe8385826c6417dbc8dc731ad535b0de3b5.tar.gz buildroot-novena-8b56bfe8385826c6417dbc8dc731ad535b0de3b5.zip |
dropbear: bump to version 2011.54
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dropbear/dropbear-2011.54-no-ipv6.patch')
-rw-r--r-- | package/dropbear/dropbear-2011.54-no-ipv6.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/dropbear/dropbear-2011.54-no-ipv6.patch b/package/dropbear/dropbear-2011.54-no-ipv6.patch new file mode 100644 index 000000000..4ee9aaa66 --- /dev/null +++ b/package/dropbear/dropbear-2011.54-no-ipv6.patch @@ -0,0 +1,18 @@ +Check for IPV6_TCLASS instead of IPPROTO_IPV6 since +it's present on non-IPv6 enabled toolchains too. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + +diff -Nura dropbear-2011.54.orig/dbutil.c dropbear-2011.54/dbutil.c +--- dropbear-2011.54.orig/dbutil.c 2011-11-08 09:48:15.000000000 -0300 ++++ dropbear-2011.54/dbutil.c 2011-11-09 12:14:59.430074138 -0300 +@@ -164,7 +164,7 @@ + /* set the TOS bit for either ipv4 or ipv6 */ + #ifdef IPTOS_LOWDELAY + val = IPTOS_LOWDELAY; +-#ifdef IPPROTO_IPV6 ++#ifdef IPV6_TCLASS + setsockopt(sock, IPPROTO_IPV6, IPV6_TCLASS, (void*)&val, sizeof(val)); + #endif + setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val)); |