commit | b7fe4141123c6fc26fffec68d0db62ecf474c074 | [log] [tgz] |
---|---|---|
author | Denis Ovsienko <linux@pilot.org.ua> | Tue Aug 21 16:32:56 2007 +0000 |
committer | Denis Ovsienko <linux@pilot.org.ua> | Tue Aug 21 16:32:56 2007 +0000 |
tree | 78f2cde951e92198b00dea6ed048d41a499f71fb | |
parent | 1ba27564f3852083839bfa1f91889cb46c780f2f [diff] [blame] |
Bug #362 is fixed now.
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index bf53668..862735b 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c
@@ -781,6 +781,11 @@ 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); }