All of lore.kernel.org
 help / color / mirror / Atom feed
* Typo on 'Sets' wiki page
@ 2023-10-09  4:23 Alasdair Muckart
  2023-10-09  7:31 ` Kerin Millar
  0 siblings, 1 reply; 2+ messages in thread
From: Alasdair Muckart @ 2023-10-09  4:23 UTC (permalink / raw)
  To: netfilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

The wiki page at https://wiki.nftables.org/wiki-nftables/index.php/Sets seems
to have an error.

Under the 'nftables.conf syntax' heading it says
"When working with nftables.conf, you can define sets in a number of ways. You
can then reference those sets later on using $VARIABLE_NAME notation."

Shouldn't that be an @, not a $?

Thanks.
- -- 
Alasdair Muckart (he/him)
Network Infrastructure Architect
Catalyst.Net Limited - Expert Open Source Solutions

Catalyst.Net Ltd - a Catalyst IT group company
DDI: +64 4 897 7794 | Mobile: +64 22 638 5141 | Tel: +64 4 499 2267 | www.catalyst.net.nz

CONFIDENTIALITY NOTICE: This email is intended for the named
recipients only. It may contain privileged, confidential or copyright
information. If you are not the named recipient, any use, reliance
upon, disclosure or copying of this email or its attachments is
unauthorised. If you have received this email in error, please reply
via email or call +64 4 499 2267.
-----BEGIN PGP SIGNATURE-----

iQJUBAEBCgA+FiEEu4g3jwJ68cPCdgH9iBAgH4ERwwMFAmUjgHkgHGFsYXNkYWly
bXVja2FydEBjYXRhbHlzdC5uZXQubnoACgkQiBAgH4ERwwNTyxAAhJIEFRIUeU7b
Gz9Lq9Z9Wbf0aDnwM3PNpzkFtV1Jwy1eM/hnqjF6bcxTYadLsN8f+og8C+tYb8so
DdV0ocFRy+/vKwh7rIyx2e9zGbAj2s5PdUwu1okPOfcYQG6g4eiUtj4+yGc0P2Qt
eG2cyOhMZnLsC21n4kjFMIjy969vAcGQMGhD5jE/r58ELNKWI8MXfXQ32Pk0PlYF
50JD4NN0+4mU4BKkGb2tOx4hslODjuzoBm9VTRPAS3hmgGsgDXfFkQJVSakG89S7
qeYTlTPO/BF6ccGouaSSeggPvs2xPV0CPaGIOjF5qrUI1leZo7+pbIRdvZ/5E1a7
wrK3/lIVSTYfrbw3X7H+Bvi8croyqxOhnTnzvl9bWoWju8M2Omst0ydOxhgaoIkf
syLT7SMLLCy4/rDraZi4+FDDyotu5pt+qRKv2jMBRXdr/Z4/pzNNtRgomszhNDh0
Su+Kih58SiLD/6PW/Lk7cOzCcVDz7o/s6aocbRu/gmLY9yTEYXXj724nkl4//Kv5
LYfU18TqcnvMaiRWFU6mobvaceVePWGHTZ6qu6SK1K/iDauCrEWZUgW5IcpueaCF
+oAOu6mJxduCRMYvmUMJaJKD5dRT//q5F21r59D0y4fxvETtGcDYwTHJveHf9Mgj
+ATR28FWlN1mTY4Sur6nWe3dhZTEQZI=
=y6eb
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo on 'Sets' wiki page
  2023-10-09  4:23 Typo on 'Sets' wiki page Alasdair Muckart
@ 2023-10-09  7:31 ` Kerin Millar
  0 siblings, 0 replies; 2+ messages in thread
From: Kerin Millar @ 2023-10-09  7:31 UTC (permalink / raw)
  To: alasdairmuckart; +Cc: netfilter

On Mon, 09 Oct 2023 17:23:03 +1300
Alasdair Muckart <alasdairmuckart@catalyst.net.nz> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> The wiki page at https://wiki.nftables.org/wiki-nftables/index.php/Sets seems
> to have an error.
> 
> Under the 'nftables.conf syntax' heading it says
> "When working with nftables.conf, you can define sets in a number of ways. You
> can then reference those sets later on using $VARIABLE_NAME notation."
> 
> Shouldn't that be an @, not a $?

It shouldn't be because the examples under that particular heading demonstrate how variables can be used to express the definition of an anonymous set. They are effective at the point that they are incorporated by a rule. All variables require the use of the $ sigil to be referenced, which is somewhat akin to parameter expansion in the shell. The @ sigil is used for matching sets that are formally defined and named by the use of the set keyword.

-- 
Kerin Millar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-09  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09  4:23 Typo on 'Sets' wiki page Alasdair Muckart
2023-10-09  7:31 ` Kerin Millar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.