[Spice-devel] [PATCHv2 1/3] reds: add Unix socket support

Marc-André Lureau marcandre.lureau at gmail.com
Tue Jan 13 06:12:21 PST 2015


Hi

On Mon, Jan 12, 2015 at 5:35 PM, Marc-André Lureau
<marcandre.lureau at gmail.com> wrote:
> +    } else if (flags == SPICE_ADDR_FLAG_IPV6_ONLY) {
>          spice_family = PF_INET6;
> +    } else if (flags == SPICE_ADDR_FLAG_UNIX_ONLY) {
> +        spice_family = AF_UNIX;
> +    } else {

Here I added if (state != 0), since it's valid to call with 0 flags.

> +        spice_warning("unknown address flag: 0x%X", flags);
>      }



-- 
Marc-André Lureau


More information about the Spice-devel mailing list