mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:30:30 +00:00
Merge pull request #3118 from pacovn/Coverity_1399231_dead_code
ospf6d: dead code (Coverity 1399231)
This commit is contained in:
commit
9b28b6f8b3
@ -171,8 +171,9 @@ int ospf6_abr_originate_summary_to_area(struct ospf6_route *route,
|
|||||||
/* AS External routes are never considered */
|
/* AS External routes are never considered */
|
||||||
if (route->path.type == OSPF6_PATH_TYPE_EXTERNAL1
|
if (route->path.type == OSPF6_PATH_TYPE_EXTERNAL1
|
||||||
|| route->path.type == OSPF6_PATH_TYPE_EXTERNAL2) {
|
|| route->path.type == OSPF6_PATH_TYPE_EXTERNAL2) {
|
||||||
if (is_debug)
|
#if 0
|
||||||
zlog_debug("Path type is external, skip");
|
zlog_debug("Path type is external, skip");
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user