On Tue, Apr 21, 2015 at 04:54:37PM -0700, Justin Pettit wrote:
> It's often useful to see an overview of the configuration.
>
> Signed-off-by: Justin Pettit <[email protected]>
Looks useful, I have only one minor comment:
> + if (lport->n_macs) {
> + printf(" macs: ");
> + for (i=0; i < lport->n_macs; i++) {
> + printf("%s ", lport->macs[i]);
> + }
This will leave trailing white space after the last MAC address, which
is annoying for diffs in Autotest (you end up needing the @&t@
quadrigraph). It's easy to avoid it if you drop the last space here:
> + printf(" macs: ");
and then move the space to before %s instead of after here:
> + printf("%s ", lport->macs[i]);
Acked-by: Ben Pfaff <[email protected]>
Thanks,
Ben.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev