diff options
author | Paul Jakma <paul@quagga.net> | 2012-02-13 13:53:07 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-05-02 11:16:11 +0100 |
commit | 8794e8d229dc9fe29ea31424883433d4880ef408 (patch) | |
tree | 6ecfaad3044ad522eb1fc1e7aba989552eeec816 | |
parent | 7621f336e2f346edee43227f0b1ef93fe769720b (diff) |
bgpd: Fix regression in args consolidation, total should be inited from args
* bgp_attr.c: (bgp_attr_unknown) total should be initialised from the args.
-rw-r--r-- | bgpd/bgp_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 0d82aba0..81802ce8 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -1646,7 +1646,7 @@ bgp_attr_ext_communities (struct bgp_attr_parser_args *args) 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; |