[packages] quagga: Fix args consolidation

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@32692 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2012-07-13 16:33:50 +00:00
parent 1ca54cc448
commit 6af633ef10
1 changed files with 11 additions and 0 deletions

View File

@ -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;