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/ospfd.c b/ospfd/ospfd.c index 80b97fa..8133050 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c
@@ -212,6 +212,8 @@ "a socket"); exit(1); } + new->maxsndbuflen = 0; + ospf_adjust_sndbuflen (new, OSPF_SNDBUFLEN_DEFAULT); if ((new->ibuf = stream_new(OSPF_MAX_PACKET_SIZE+1)) == NULL) { zlog_err("ospf_new: fatal error: stream_new(%u) failed allocating ibuf",