From 26bddd37cf46ee75e3b3d98e829f20b5cb9582fe Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 29 Dec 2008 03:42:19 +0000 Subject: contrib/packages: move olsrd to tip again and add fix for ipv6 address handling --- contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/package/olsrd-luci/patches/010-olsrd-ip6addr.patch (limited to 'contrib/package/olsrd-luci/patches') 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 000000000..6c8bff26d --- /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; + } -- cgit v1.2.3