[packages] quagga: Fix args consolidation
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2012 16:33:50 +0000 (16:33 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2012 16:33:50 +0000 (16:33 +0000)
git-svn-id: svn+ssh://svn.openwrt.org/openwrt@32692 3c298f89-4303-0410-b956-a3cf2f4a3e73

patches/001-bgpd-fix-args-consolidation.patch [new file with mode: 0644]

diff --git a/patches/001-bgpd-fix-args-consolidation.patch b/patches/001-bgpd-fix-args-consolidation.patch
new file mode 100644 (file)
index 0000000..30de1b5
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/bgpd/bgp_attr.c
++++ b/bgpd/bgp_attr.c
+@@ -1646,7 +1646,7 @@ bgp_attr_ext_communities (struct bgp_att
+ static bgp_attr_parse_ret_t
+ bgp_attr_unknown (struct bgp_attr_parser_args *args)
+ {
+-  bgp_size_t total;
++  bgp_size_t total = args->total;
+   struct transit *transit;
+   struct attr_extra *attre;
+   struct peer *const peer = args->peer;