Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 20:33:39 +0200 (CEST)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        bryan collins <bryan@coombs.anu.edu.au>, freebsd-current@FreeBSD.ORG
Subject:   Re: /usr/sbin/arp: actual retrieval of routing table
Message-ID:  <Pine.BSF.4.02A.9810152033060.27375-100000@korin.warman.org.pl>
In-Reply-To: <199810151534.LAA16665@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 1998, Garrett Wollman wrote:

> <<On Thu, 15 Oct 1998 09:37:33 +0200 (CEST), Andrzej Bialecki <abial@nask.pl> said:
> 
> > Perhaps the programs which use this double sysctl(3) calls should allocate
> > somewhat bigger buffer than that calculated on basis of previous call,
> > anticipating for unexpected change in data size...
> 
> Actually, the size-estimate routines often intentionally overestimate
> for precisely this reason.

Ok, good to know this - but this didn't work in this case...

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9810152033060.27375-100000>