All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Matt Zagrabelny <mzagrabe@d.umn.edu>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: redefining a variable
Date: Sun, 14 Nov 2021 12:04:34 +0100	[thread overview]
Message-ID: <20211114110434.GA6326@breakpoint.cc> (raw)
In-Reply-To: <CAOLfK3Xq-vre2+vG6k4shjKnEJ+Dq=-z1isVCsgqNLjh=xxfXg@mail.gmail.com>

Matt Zagrabelny <mzagrabe@d.umn.edu> 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.

  reply	other threads:[~2021-11-14 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 17:26 redefining a variable Matt Zagrabelny
2021-11-14 11:04 ` Florian Westphal [this message]
2021-11-15 16:27   ` Matt Zagrabelny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211114110434.GA6326@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=mzagrabe@d.umn.edu \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.