Hi Pablo, On Mon, Oct 21, 2019 at 05:38:35PM +0200, Pablo Neira Ayuso wrote: > # nft add chain x y { type filter hook input priority -30\; } > nft: invalid option -- '3' > > Fix this by restricting getopt_long() to the first curly brace. Wouldn't it suffice to set the first char of OPTSTRING to '+'? Exporting POSIXLY_CORRECT=1 prior to calling the above command works at least. Cheers, Phil