Skip to content

Commit

Permalink
Merge pull request #2425 from donaldsharp/5_0_build_issue
Browse files Browse the repository at this point in the history
bgpd: Fix possible use while uninited
  • Loading branch information
rzalamena committed Jun 14, 2018
2 parents 54c69f9 + 76f5e14 commit 088dc39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bgpd/bgp_evpn_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ static void show_vni_routes_hash(struct hash_backet *backet, void *arg)
static void show_l3vni_entry(struct vty *vty, struct bgp *bgp,
json_object *json)
{
json_object *json_vni;
json_object *json_import_rtl;
json_object *json_export_rtl;
json_object *json_vni = NULL;
json_object *json_import_rtl = NULL;
json_object *json_export_rtl = NULL;
char buf1[10];
char buf2[INET6_ADDRSTRLEN];
char rt_buf[25];
Expand Down

0 comments on commit 088dc39

Please sign in to comment.