16 May
2018
16 May
'18
9:43 a.m.
Ondrej Zajicek <santiago@crfreenet.org> writes:
On Sun, May 13, 2018 at 10:59:51PM +0200, Toke Høiland-Jørgensen wrote:
This adds a new attribute to expose the source prefix length in the same way as the destination prefix length, via a new .srclen attribute.
Hi
I generalized the patch and merged that - instead of 'srclen' it adds 'src' operator that returns source prefix, so it is possible to use net.src.len, net.src.ip, or just net.src in expressions.
Ah, yes, that is better of course. Thanks!
Also note that new filter operators must be also added to i_same() function.
Noted :) -Toke