From: "Eliezer Croitor" <ngtech1ltd@gmail.com>
To: netfilter@vger.kernel.org
Subject: RE: nftables map with numgen type, not sure if it was implemented?
Date: Thu, 24 Sep 2020 22:09:34 +0300 [thread overview]
Message-ID: <002201d692a6$3ea3d8c0$bbeb8a40$@gmail.com> (raw)
In-Reply-To: <20200831152510.GB2725@salvia>
I am using 0.9.4:
https://pkgs.alpinelinux.org/package/v3.12/main/x86_64/nftables
I will try to verify this again later with alpine edge which has 9.6
Thanks,
----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@gmail.com
-----Original Message-----
From: Pablo Neira Ayuso <pablo@netfilter.org>
Sent: Monday, August 31, 2020 6:25 PM
To: Eliezer Croitor <ngtech1ltd@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nftables map with numgen type, not sure if it was implemented?
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.
prev parent reply other threads:[~2020-09-24 19:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 15:34 nftables map with numgen type, not sure if it was implemented? Eliezer Croitor
2020-08-31 15:25 ` Pablo Neira Ayuso
2020-09-24 19:09 ` Eliezer Croitor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002201d692a6$3ea3d8c0$bbeb8a40$@gmail.com' \
--to=ngtech1ltd@gmail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox