diff options
author | Denis Ovsienko <linux@pilot.org.ua> | 2007-08-21 16:32:56 +0000 |
---|---|---|
committer | Denis Ovsienko <linux@pilot.org.ua> | 2007-08-21 16:32:56 +0000 |
commit | b7fe4141123c6fc26fffec68d0db62ecf474c074 (patch) | |
tree | 78f2cde951e92198b00dea6ed048d41a499f71fb /ospfd/ospf_interface.c | |
parent | 1ba27564f3852083839bfa1f91889cb46c780f2f (diff) |
Bug #362 is fixed now.
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r-- | ospfd/ospf_interface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index bf53668b..862735be 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -781,6 +781,11 @@ ospf_if_up (struct ospf_interface *oi) OSPF_ISM_EVENT_SCHEDULE (oi, ISM_LoopInd); else { + struct ospf *ospf = ospf_lookup (); + if (ospf != NULL) + ospf_adjust_sndbuflen (ospf, oi->ifp->mtu); + else + zlog_warn ("%s: ospf_lookup() returned NULL"); ospf_if_stream_set (oi); OSPF_ISM_EVENT_SCHEDULE (oi, ISM_InterfaceUp); } |