]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: add missing entry to array of strings
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 10 Jul 2021 15:20:25 +0000 (12:20 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 16 Sep 2021 15:26:05 +0000 (12:26 -0300)
Commit b8212e0310 introduced OSPF6_SPF_FLAGS_ASBR_STATUS_CHANGE but
didn't update the 'ospf6_spf_reason_str' array accordingly. Fix this.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_spf.c

index 14122988025e369619bfecf0c54f880379b1023a..a27ca092b8586f54b7fd0c9db7e58bc00c762cb2 100644 (file)
@@ -439,7 +439,7 @@ void ospf6_spf_table_finish(struct ospf6_route_table *result_table)
 }
 
 static const char *const ospf6_spf_reason_str[] = {"R+", "R-", "N+", "N-", "L+",
-                                                  "L-", "R*", "N*", "C"};
+                                                  "L-", "R*", "N*", "C",  "A"};
 
 void ospf6_spf_reason_string(unsigned int reason, char *buf, int size)
 {