Skip to contentSkip to conversation

nftables; symbolic variable definition only allows suffixed comments

doc? grin 1 participant 1 message Sep 19, 2022

lore
Share & tools
lore

grin

author
#0 lore raw

Hello,

I see no signs of this in neither the docs (manpages) nor the wiki: it seems that in variable definitions comments are only allowed as a line ending comment but not as a standalone one, contrary to the documentation:

# this is allowed
define meh = { 1.2.3.4, # this is allowed
# this is a syntax error
5.6.7.8 } 

I believe this is acceptable but the documentation shall reflect that.

g