]> git.ipfire.org Git - thirdparty/nftables.git/commit
eval: refactor NAT evaluation functions
authorPatrick McHardy <kaber@trash.net>
Sat, 10 Jan 2015 14:41:55 +0000 (14:41 +0000)
committerPatrick McHardy <kaber@trash.net>
Sat, 10 Jan 2015 14:41:55 +0000 (14:41 +0000)
commit405746b606e12390b2efebf3ab878ba433395e01
tree001596d8ed0b17ab8240dbabc4797579cc0c8c4d
parentc48a519da2a85d11d76217aed6e78395dd7f7f57
eval: refactor NAT evaluation functions

The redir and masq evaluation functions include some useless context
updates and checks.

Refactor the NAT code to have a single instance of address and transport
evaluation functions for simplicity and unified error reporting.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/evaluate.c