[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6
From: |
Samuel Thibault |
Subject: |
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6 |
Date: |
Sun, 20 Mar 2016 14:32:52 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Samuel Thibault, on Sun 20 Mar 2016 12:39:14 +0100, wrote:
> void icmp6_init(Slirp *slirp)
> {
> + if (in6_zero(&slirp->vprefix_addr6)) {
> + /* IPv6 is disabled */
> + return;
> + }
> +
(Note: vprefix_addr6 is not actually initialized yet at that point, which
poses problem, I'll fix that later, I was more asking for reviewing the
principle of the patch itself, the option value, etc.).
Samuel