Re: [RFC nft PATCH] syntax: replace '=>' with '=:'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 January 2014 22:24, Patrick McHardy <kaber@xxxxxxxxx> wrote:
>
> IPv6 addresses are recognized by the parser, so it should be fine. I just
> compile tested this patch, at least bison doesn't report any errors.
>

'=:' works also as a visual separator.

If using ':', in the case of IPv6, we can end with:
2a00:9ac0:c1ca:27::150:123

Bison may detect it wisely, but I don't know where the address
start/ends, don't you?

Or we can force/require a space in the syntax:
2a00:9ac0:c1ca:27::150 : 123

If we decide to use ':', this last case is better, IMHO.

If you don't like '=:', what about:
'--'
'-:'
'---'
'--:'
or
':--'

-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux