packages/net/quagga/patches/001-bgpd-fix-args-consolidation.patch
acinonyx 733c55a60a [packages] quagga: Fix args consolidation
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-13 16:33:50 +00:00

12 lines
348 B
Diff

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