diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-29 17:12:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-29 17:12:10 +0000 |
commit | 64a6bf01c0f8a12c45d52d7d82e0934ea2e6dd73 (patch) | |
tree | 9319e23886197cc5734a614ef439a533d0bebe03 /contrib/package/olsrd-luci | |
parent | 59a84011287e1215b46e957b6db4d877d639a67f (diff) |
contrib/packages: add another fix for olsrd ipv6 addresses
Diffstat (limited to 'contrib/package/olsrd-luci')
-rw-r--r-- | contrib/package/olsrd-luci/patches/011-olsrd-ip6addr-2.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/package/olsrd-luci/patches/011-olsrd-ip6addr-2.patch b/contrib/package/olsrd-luci/patches/011-olsrd-ip6addr-2.patch new file mode 100644 index 000000000..6df24ba78 --- /dev/null +++ b/contrib/package/olsrd-luci/patches/011-olsrd-ip6addr-2.patch @@ -0,0 +1,20 @@ +diff -urb olsrd-913b11abf7f1.orig/src/unix/ifnet.c olsrd-913b11abf7f1/src/unix/ifnet.c +--- olsrd-913b11abf7f1.orig/src/unix/ifnet.c 2008-12-29 17:41:41.000000000 +0100 ++++ olsrd-913b11abf7f1/src/unix/ifnet.c 2008-12-29 17:43:53.000000000 +0100 +@@ -214,13 +214,13 @@ + } + + #ifdef DEBUG +- OLSR_PRINTF(3, "\tAddress: %s\n", ip6_to_string(&buf, &tmp_saddr6.sin6_addr)); ++ OLSR_PRINTF(3, "\tAddress: %s\n", ip6_to_string(&buf, &tmp_saddr6)); + #endif + + if (ip6equal(&tmp_saddr6.sin6_addr, &ifp->int6_addr.sin6_addr)) { + OLSR_PRINTF(1, "New IP address for %s:\n", ifr.ifr_name); +- OLSR_PRINTF(1, "\tOld: %s\n", ip6_to_string(&buf, &ifp->int6_addr.sin6_addr)); +- OLSR_PRINTF(1, "\tNew: %s\n", ip6_to_string(&buf, &tmp_saddr6.sin6_addr)); ++ OLSR_PRINTF(1, "\tOld: %s\n", ip6_to_string(&buf, &ifp->int6_addr)); ++ OLSR_PRINTF(1, "\tNew: %s\n", ip6_to_string(&buf, &tmp_saddr6)); + + /* Check main addr */ + if (ip6equal(&olsr_cnf->main_addr.v6, &tmp_saddr6.sin6_addr)) { |