]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix usage of uninitialized dn_flag[]
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Feb 2017 19:55:39 +0000 (14:55 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Feb 2017 19:55:39 +0000 (14:55 -0500)
commit517cd68a3e308c69c15db6d707f62854e5379033
tree20c0e07c02722bd0815a8ab5c79cf39afbae4793
parentbf97380cf18495fc5ee3464cc01b942ec106ebc1
bgpd: Fix usage of uninitialized dn_flag[]

dn_flag was tested inside of a 'use_json' block
further down in the function.  Move initialization
of the value to outside of the !use_json if statement

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_vty.c