diff options
| author | Russ White <russ@riw.us> | 2021-09-24 13:42:49 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-24 13:42:49 -0400 | 
| commit | b8beb67ef5a1c6e276a11ee346ea4a84c1c0b76f (patch) | |
| tree | d471f2d6c8d8b7c50e09207a37e695e6138629c8 /ospf6d/ospf6_spf.c | |
| parent | d2e41077549d65e08b14948597cacb3d34eeda52 (diff) | |
| parent | 6735622c24a3510032e40aaf4b9f419e9efbea3d (diff) | |
Merge pull request #9585 from opensourcerouting/ospf6d-nssa-dflt-originate
ospf6d: add a knob to generate Type-7 default routes
Diffstat (limited to 'ospf6d/ospf6_spf.c')
| -rw-r--r-- | ospf6d/ospf6_spf.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c index 0e7a2f8fa8..a9bd7febcf 100644 --- a/ospf6d/ospf6_spf.c +++ b/ospf6d/ospf6_spf.c @@ -657,8 +657,10 @@ static int ospf6_spf_calculation_thread(struct thread *t)  	/* External LSA calculation */  	ospf6_ase_calculate_timer_add(ospf6); -	if (ospf6_check_and_set_router_abr(ospf6)) +	if (ospf6_check_and_set_router_abr(ospf6)) {  		ospf6_abr_defaults_to_stub(ospf6); +		ospf6_abr_nssa_type_7_defaults(ospf6); +	}  	monotime(&end);  	timersub(&end, &start, &runtime);  | 
