Looks good.

Ethan

On Fri, Aug 19, 2011 at 15:28, Ben Pfaff <b...@nicira.com> wrote:
> I've always intended this to work, but either I never tested it or the
> support rotted.
>
> This will soon be used in some tests that I will add.
> ---
>  lib/dpif-netdev.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
> index ffcc28a..3b75013 100644
> --- a/lib/dpif-netdev.c
> +++ b/lib/dpif-netdev.c
> @@ -336,7 +336,7 @@ do_add_port(struct dp_netdev *dp, const char *devname, 
> const char *type,
>     int error;
>
>     /* XXX reject devices already in some dp_netdev. */
> -    if (type[0] == '\0' || !strcmp(type, "system")) {
> +    if (type[0] == '\0' || !strcmp(type, "system") || !strcmp(type, 
> "dummy")) {
>         internal = false;
>     } else if (!strcmp(type, "internal")) {
>         internal = true;
> --
> 1.7.4.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to