On Sat, May 23, 2015 at 11:08:39AM +0300, Timo Teräs wrote:
> Add also PREFIX_STRLEN to be the generic buffer length required
> for any prefix string representation.
[...]
> +/* Maximum prefix string length (IPv6) */
> +#define PREFIX_STRLEN 51

How do you get 51?

8*4 + 7 + 1 + 3  + 1  = 44?
hex   :   /   128  nul

(Not that it matters that much as long as it's erring on the positive
side...)


-David

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to