diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-10-28 19:05:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 19:05:16 +0200 |
commit | fd4bd21eeef612234c6000f9ff87e763969d2479 (patch) | |
tree | 866eec80c2a850f974774b766ef12f0d60a442b6 /ospf6d/ospf6_asbr.c | |
parent | Merge pull request #9870 from opensourcerouting/zebra-rib-select-order (diff) | |
parent | ospf6d: remove unnecessary break. (diff) | |
download | frr-fd4bd21eeef612234c6000f9ff87e763969d2479.tar.xz frr-fd4bd21eeef612234c6000f9ff87e763969d2479.zip |
Merge pull request #9831 from manojvn/379909_383518
ospf6d: minor code enhancements.
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r-- | ospf6d/ospf6_asbr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index cf9b327e9..b439f947d 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -1308,7 +1308,8 @@ static void ospf6_asbr_redistribute_set(struct ospf6 *ospf6, int type) { ospf6_zebra_redistribute(type, ospf6->vrf_id); - ospf6_asbr_status_update(ospf6, ++ospf6->redist_count); + ++ospf6->redist_count; + ospf6_asbr_status_update(ospf6, ospf6->redist_count); } static void ospf6_asbr_redistribute_unset(struct ospf6 *ospf6, @@ -1330,7 +1331,8 @@ static void ospf6_asbr_redistribute_unset(struct ospf6 *ospf6, } ospf6_asbr_routemap_unset(red); - ospf6_asbr_status_update(ospf6, --ospf6->redist_count); + --ospf6->redist_count; + ospf6_asbr_status_update(ospf6, ospf6->redist_count); } /* When an area is unstubified, flood all the external LSAs in the area */ |