On Fri, Nov 16, 2012 at 12:03:01AM -0800, Justin Pettit wrote:
> This will have an additional caller in the future.
> 
> Signed-off-by: Justin Pettit <jpet...@nicira.com>

I would think it more natural to write this:

    if (!strcmp(iface->type, "internal") || !strcmp(iface->name, br->name)) {
        return true;
    } else {
        return false;
    }

as:

     return !strcmp(iface->type, "internal") || !strcmp(iface->name, br->name);

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to