[packages] quagga: Fix args consolidation
[openwrt/svn-archive/archive.git] / net / quagga / patches / 001-bgpd-fix-args-consolidation.patch
1 --- a/bgpd/bgp_attr.c
2 +++ b/bgpd/bgp_attr.c
3 @@ -1646,7 +1646,7 @@ bgp_attr_ext_communities (struct bgp_att
4 static bgp_attr_parse_ret_t
5 bgp_attr_unknown (struct bgp_attr_parser_args *args)
6 {
7 - bgp_size_t total;
8 + bgp_size_t total = args->total;
9 struct transit *transit;
10 struct attr_extra *attre;
11 struct peer *const peer = args->peer;