On Thu, Aug 27, 2020 at 06:34:35PM +0300, Eliezer Croitor wrote: [...] > lb-r4:/tmp# nft add map nftlb m2 '{ type typeof numgen random mod 2 : > verdict; }' > Error: syntax error, unexpected typeof > add map nftlb m2 { type typeof numgen random mod 2 : verdict; } > ^^^^^^ [...] > > Am I right for even trying it? What nft version are you using? typeof support was introduced in nft >= 0.9.4.