On Tue, Dec 18, 2012 at 11:52:11AM -0800, Romain Lenglet wrote:
> Signed-off-by: Romain Lenglet <[email protected]>
...
> +struct dpif_ipfix *
> +dpif_ipfix_create(void)
> +{
> + struct dpif_ipfix *di;
> + di = xcalloc(1, sizeof *di);
You can use xzalloc(x) instead of xcalloc(1, x);
> + return di;
> +}
In vswitch.ovsschema, I believe that we could limit obs_domain_id to the
32-bit range, since it's a 32-bit value. Is it worthwhile to do so?
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev