Hi Pablo, On Wed, Nov 06, 2019 at 01:40:17PM +0100, Pablo Neira Ayuso wrote: > On Wed, Oct 30, 2019 at 10:28:54PM +0100, Phil Sutter wrote: > > Allow for interactive sessions to make use of defines. Since parser is > > initialized for each line, top scope defines didn't persist although > > they are actually useful for stuff like: > > > > | # nft -i > > | goodports = { 22, 23, 80, 443 } > ^ > 'define' is missing here, right? Oh yes, of course. > > | add rule inet t c tcp dport $goodports accept > > | add rule inet t c tcp sport $goodports accept > > > > Signed-off-by: Phil Sutter <phil@xxxxxx> > > Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> > > One more comment, possible follow up, just an idea. Added those, sent v2 just to be sure. Thanks, Phil