Re: redefining a variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Florian,

Thanks for the reply!

On Sun, Nov 14, 2021 at 5:04 AM Florian Westphal <fw@xxxxxxxxx> wrote:
>
> Matt Zagrabelny <mzagrabe@xxxxxxxxx> wrote:
> > Greetings,
> >
> > I would like to be able to redefine variables in nft.
> >
> > Would you folks consider a switch or a new keyword to achieve something like:
> >
> > define ints = eth0
> >
> > define --redefine-ok ints = { $ints, eth1 }
> >
> > define_or_redefine ints = { $ints, eth2 }
> >
> > Thanks for your help and support.
>
> nft has undefine & redefine keywords.

That's perfect. Perhaps add a snippet to the man page?

Thanks again for the reply and help!

-m



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux