[packages] quagga: Fix typo in isisd
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Fri, 13 Jul 2012 16:36:01 +0000 (16:36 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Fri, 13 Jul 2012 16:36:01 +0000 (16:36 +0000)
SVN-Revision: 32702

net/quagga/patches/011-isisd-fix-typo.patch [new file with mode: 0644]

diff --git a/net/quagga/patches/011-isisd-fix-typo.patch b/net/quagga/patches/011-isisd-fix-typo.patch
new file mode 100644 (file)
index 0000000..e7a1510
--- /dev/null
@@ -0,0 +1,13 @@
+Index: quagga-0.99.21/isisd/isis_lsp.c
+===================================================================
+--- quagga-0.99.21.orig/isisd/isis_lsp.c
++++ quagga-0.99.21/isisd/isis_lsp.c
+@@ -2413,7 +2413,7 @@ top_lsp_refresh (struct thread *thread)
+   isis_dynhn_insert (lsp->lsp_header->lsp_id, lsp->tlv_data.hostname,
+                    IS_LEVEL_1);
+-  lsp->lsp_header->lsp_bits = lsp_bits_generate (level,
++  lsp->lsp_header->lsp_bits = lsp_bits_generate (lsp->level,
+                                                  lsp->area->overload_bit);
+   rem_lifetime = lsp_rem_lifetime (lsp->area, IS_LEVEL_1);
+   lsp->lsp_header->rem_lifetime = htons (rem_lifetime);