On Thu, Sep 10, 2020 at 06:40:20PM +0200, Jose M. Guisado Gomez wrote: > Before this patch grammar supported specifying multiple comments, and > only the last value would be assigned. > > This patch adds a function to test if an attribute is already assigned > and, if so, calls erec_queue with this attribute location. > > Use this function in order to check for duplication (or more) of comments > for actions that support it. > > > nft add table inet filter { flags "dormant"\; comment "test"\; comment "another"\;} > > Error: You can only specify this once. This statement is duplicated. > add table inet filter { flags dormant; comment test; comment another;} > ^^^^^^^^^^^^^^^^ Applied, thanks.