diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-11 18:26:57 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-13 23:17:42 +0200 |
commit | 12a81f8eb104cb0cc3ee35230d1b623b4da289b0 (patch) | |
tree | a68117e4f229dd0af7866ddc72c6daa6fe2129c6 /ospfd | |
parent | Merge pull request #2062 from chiragshah6/ospfv3_dev (diff) | |
download | frr-12a81f8eb104cb0cc3ee35230d1b623b4da289b0.tar.xz frr-12a81f8eb104cb0cc3ee35230d1b623b4da289b0.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index fd3da45f7..662379083 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) { |