diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-04 18:51:29 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-04 18:51:29 +0000 |
commit | e7ef86a58cc5393ba764606b0ee6d760e6164f0c (patch) | |
tree | 19fab1206527558cbfc7fac11945ce477757c251 /proto/ospf/neighbor.c | |
parent | f158bb710b8be65b626f54399c8a5db8df9bd7b6 (diff) |
OSPF is ready for changing MTU.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 6ba3282d..a45ed2dc 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -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); |