All of lore.kernel.org
 help / color / mirror / Atom feed
* src: add redirect support
@ 2014-12-12 15:29 Patrick McHardy
  2014-12-12 17:02 ` Arturo Borrero Gonzalez
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick McHardy @ 2014-12-12 15:29 UTC (permalink / raw)
  To: arturo.borrero.glez; +Cc: pablo, netfilter-devel

Looking at the redir bug report on netfilter-devel, I noticed some
odd syntax for the redir statement.

The changelog states:

  The syntax is:
        
  % nft add rule nat prerouting redirect [port] [nat_flags]

The actual syntax though is:

redir_stmt_arg          :       COLON   expr

What do we need that colon for? redirect by definition redirects to
the local host, the argument is always only a port expression.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-12 19:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 15:29 src: add redirect support Patrick McHardy
2014-12-12 17:02 ` Arturo Borrero Gonzalez
2014-12-12 17:27   ` Patrick McHardy
2014-12-12 18:33     ` Pablo Neira Ayuso
2014-12-12 18:36       ` Patrick McHardy
2014-12-12 18:51         ` Pablo Neira Ayuso
2014-12-12 18:53           ` Patrick McHardy
2014-12-12 19:29             ` Pablo Neira Ayuso
2014-12-12 19:34               ` Patrick McHardy

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.