Control: retitle -1 Please document address1,+address2 notations for IPv6

Hi Cord,

(Here is upstream's (CC'ed) response.)

On Mon, 28 Dec 2015 at 12:22:11 -0800, Robert Stone wrote:
> On Mon, 28 Dec 2015 at 17:04:37 +0100, Cord Beermann wrote:
>> $ netmask 192.168.0.0:+1
>> 192.168.0.0/31
>> $ netmask 192.168.0.0:+-1
>> 192.167.255.255/32
>> 192.168.0.0/32
>> 
>> This fails with IPv6:
>> 
>> $ netmask fa00:::+1

> I should clarify the documentation here.  Using ":" as a range separator only
> works for IPv4 addresses, but "," will work with both IPv4 and IPv6.  "netmask
> fa00::,+1" will likely do what was intended by the first example.

>> netmask: parse error "fa00:::+1"
>> $ netmask fa00:::+-1
>> netmask: parse error "fa00:::+-1"

> Negative addresses are not supported by "," separated ranges since those
> expressions must support multiple address families.  This may be enhanced in
> the future, but that limitation is why negative address support remains
> undocumented.

Cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to