From 8218ac34814713ba038b5641108c39de1cfd314d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Sep 2010 17:49:49 +0000 Subject: [PATCH] [backfire] merge r22908 SVN-Revision: 22909 --- package/firewall/files/reflection.hotplug | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/firewall/files/reflection.hotplug b/package/firewall/files/reflection.hotplug index dc6780a720..6b1cd60f28 100644 --- a/package/firewall/files/reflection.hotplug +++ b/package/firewall/files/reflection.hotplug @@ -53,6 +53,10 @@ if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then local proto config_get proto "$cfg" proto + local reflection + config_get_bool reflection "$cfg" reflection 1 + [ "$reflection" == 1 ] || return + local epmin epmax extport config_get extport "$cfg" src_dport [ -n "$extport" ] || return -- 2.30.2