[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6 |
Date: |
Tue, 22 Mar 2016 09:02:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 22.03.2016 08:41, Markus Armbruster wrote:
> Samuel Thibault <address@hidden> writes:
>
>> Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote:
>>> Samuel Thibault <address@hidden> writes:
>>>> Make net=0.0.0.0 disable IPv4 and ip6-net=:: disable IPv6, so the user can
>>>> setup IPv4-only and IPv6-only network environments.
>>>
>>> Do "net=" and "ip6-net=" mean anything useful? If not, wouldn't that be
>>> a more natural way to switch off than abusing the wildcard address?
>>
>> An empty parameter looks odd to me. 0.0.0.0 is used e.g. by ifconfig to
>> disable an interface, that's why I thought about it. Perhaps an even
>> better way would be net=none and ip6-net=none?
>
> An empty string as parameter value looks just fine to me. "none" would
> be fine, too, because it's not a valid value so far. I acknowledge the
> precedence for abusing the wildcard address. Pick something you like.
I like the "=none" syntax.
Thomas