diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-29 03:42:19 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-29 03:42:19 +0000 |
commit | 26bddd37cf46ee75e3b3d98e829f20b5cb9582fe (patch) | |
tree | 327f37ee99d89c55664b814af58fd68d312b0f1b /contrib/package/olsrd-luci/patches | |
parent | fcffac22670ca411ced6e8cfd9c813859d70357c (diff) |
contrib/packages: move olsrd to tip again and add fix for ipv6 address handling
Diffstat (limited to 'contrib/package/olsrd-luci/patches')
-rw-r--r-- | contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch b/contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch new file mode 100644 index 0000000000..6c8bff26db --- /dev/null +++ b/contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch @@ -0,0 +1,12 @@ +diff -urN olsrd-913b11abf7f1.orig/src/linux/net.c olsrd-913b11abf7f1/src/linux/net.c +--- olsrd-913b11abf7f1.orig/src/linux/net.c 2008-12-27 10:41:08.000000000 +0100 ++++ olsrd-913b11abf7f1/src/linux/net.c 2008-12-28 22:05:51.000000000 +0100 +@@ -678,7 +678,7 @@ + OLSR_PRINTF(4, "Found addr: %s:%s:%s:%s:%s:%s:%s:%s\n", + addr6p[0], addr6p[1], addr6p[2], addr6p[3], + addr6p[4], addr6p[5], addr6p[6], addr6p[7]); +- inet_pton(AF_INET6, addr6, saddr6); ++ inet_pton(AF_INET6, addr6, &saddr6->sin6_addr); + rv = 1; + break; + } |