diff options
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 98c9de50..642365b3 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -349,7 +349,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) case NEIGHBOR_DOWN: neigh_chstate(n, NEIGHBOR_INIT); default: - tm_start(n->inactim, n->ifa->dead); /* Restart inactivity timer */ + tm_start(n->inactim, n->ifa->deadint); /* Restart inactivity timer */ break; } break; @@ -548,16 +548,6 @@ find_neigh_by_ip(struct ospf_iface *ifa, ip_addr ip) return NULL; } -struct ospf_area * -ospf_find_area(struct proto_ospf *po, u32 aid) -{ - struct ospf_area *oa; - WALK_LIST(oa, po->area_list) - if (((struct ospf_area *) oa)->areaid == aid) - return oa; - return NULL; -} - /* Neighbor is inactive for a long time. Remove it. */ static void neighbor_timer_hook(timer * timer) |