1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

OSPF is ready for changing MTU.

This commit is contained in:
Ondrej Filip
2004-06-04 18:51:29 +00:00
parent f158bb710b
commit e7ef86a58c
5 changed files with 38 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ ospf_neighbor_new(struct ospf_iface *ifa)
n->ifa = ifa;
add_tail(&ifa->neigh_list, NODE n);
n->adj = 0;
n->ldbdes=mb_alloc(pool, ifa->iface->mtu);
n->ldbdes=mb_allocz(pool, ifa->iface->mtu);
n->state=NEIGHBOR_DOWN;
n->inactim = tm_new(pool);