[ovs-dev] [add-remove v2 2/8] vswitchd: Break set_up_iface() into two different functions.
Jesse Gross
jesse at nicira.com
Sat Oct 9 00:20:19 UTC 2010
On Fri, Oct 1, 2010 at 4:48 PM, Ben Pfaff <blp at nicira.com> wrote:
> + /* Skip reconfiguration if the device has the wrong type. This shouldn't
> + * happen, but... */
> + iface_type = (!iface->cfg->type[0] ? NULL
> + : !strcmp(iface->cfg->type, "internal") ? "system"
> + : iface->cfg->type);
Shouldn't that NULL be "system"?
Otherwise, looks good. I never liked that function anyways.
More information about the dev
mailing list