diff options
Diffstat (limited to 'ospf6d/ospf6_nssa.c')
| -rw-r--r-- | ospf6d/ospf6_nssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c index 10b7d2d9f6..89a72bf225 100644 --- a/ospf6d/ospf6_nssa.c +++ b/ospf6d/ospf6_nssa.c @@ -1311,7 +1311,7 @@ void ospf6_nssa_lsa_originate(struct ospf6_route *route, /* Fill AS-External-LSA */ /* Metric type */ - if (route->path.metric_type == OSPF6_PATH_TYPE_EXTERNAL2) + if (route->path.metric_type == 2) SET_FLAG(as_external_lsa->bits_metric, OSPF6_ASBR_BIT_E); else UNSET_FLAG(as_external_lsa->bits_metric, OSPF6_ASBR_BIT_E); |
