summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-11 12:26:57 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-13 17:17:42 -0400
commit12a81f8eb104cb0cc3ee35230d1b623b4da289b0 (patch)
treea68117e4f229dd0af7866ddc72c6daa6fe2129c6 /ospfd
parentb667cbc63808b2c1137119326226f34810f4c7e4 (diff)
ospfd: set external_info instance value to 0
This value is used but never set. Set it to zero to suppress static analysis errors. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_lsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index fd3da45f78..6623790837 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -1756,6 +1756,7 @@ static struct ospf_lsa *ospf_lsa_translated_nssa_new(struct ospf *ospf,
ei.route_map_set.metric = -1;
ei.route_map_set.metric_type = -1;
ei.tag = 0;
+ ei.instance = 0;
if ((new = ospf_external_lsa_new(ospf, &ei, &type7->data->id))
== NULL) {