diff options
| -rw-r--r-- | ospfd/ospfd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index e95ee55e68..8197e81603 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1119,8 +1119,8 @@ static void update_redistributed(struct ospf *ospf, int add_to_ospf) if (add_to_ospf) { if (ospf_external_info_find_lsa(ospf, &ei->p)) - if (!ospf_distribute_check_connected( - ospf, ei)) + if (!ospf_redistribute_check( + ospf, ei, NULL)) ospf_external_lsa_flush( ospf, ei->type, &ei->p, @@ -1128,8 +1128,8 @@ static void update_redistributed(struct ospf *ospf, int add_to_ospf) } else { if (!ospf_external_info_find_lsa( ospf, &ei->p)) - if (ospf_distribute_check_connected( - ospf, ei)) + if (ospf_redistribute_check( + ospf, ei, NULL)) ospf_external_lsa_originate( ospf, ei); } |
