summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2017-09-13 13:19:23 -0400
committerGitHub <noreply@github.com>2017-09-13 13:19:23 -0400
commit323a4653ceaadb53f18c9700e124383d163546bd (patch)
tree5f5a04c460d857fdb4aeeb6a53f491708ef5f92e
parent469874c45ad2eff87959f1eeccaa384800a3bf9c (diff)
parent88a837f6ce34ef469cdf1fd8f83c9f8e4c87b7a9 (diff)
Merge pull request #1169 from donaldsharp/eas_crud
bgpd: Fix warning introduced by PR #1133
-rw-r--r--bgpd/bgp_evpn_vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_evpn_vty.c b/bgpd/bgp_evpn_vty.c
index eb69e76051..c05e313298 100644
--- a/bgpd/bgp_evpn_vty.c
+++ b/bgpd/bgp_evpn_vty.c
@@ -79,6 +79,7 @@ static void display_import_rt(struct vty *vty, struct irt_node *irt,
if (sub_type != ECOMMUNITY_ROUTE_TARGET)
return;
+ memset(&eas, 0, sizeof(eas));
switch (type) {
case ECOMMUNITY_ENCODE_AS:
eas.as = (*pnt++ << 8);