firewall3: add check_snat() function
authorPierre Lebleu <pme.lebleu@gmail.com>
Thu, 4 May 2017 08:52:59 +0000 (10:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 9 May 2017 21:54:15 +0000 (23:54 +0200)
commitf62595480555f4034841cfbdec5858645528ae7d
tree981769c450c8f10d6d7325082927438e7431dee1
parent7d3d9dcebe1754b955237fb97e5eaa3d2ad7a2b3
firewall3: add check_snat() function

The snat rule check is done by a function to avoid the walking
through the list twice.

Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com>
snats.c