firewall: also correct another variable missed in previous commit
authorDaniel Dickinson <crazycshore@gmail.com>
Thu, 7 Jul 2011 08:59:40 +0000 (08:59 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Thu, 7 Jul 2011 08:59:40 +0000 (08:59 +0000)
SVN-Revision: 27508

package/firewall/files/lib/core_redirect.sh

index 8d3d0b77164bd8df55c737f086ace31257fd6684..e8d5ceab03708f3554397e56ac6a816fbcfa5d99 100644 (file)
@@ -109,7 +109,7 @@ fw_load_redirect() {
                                $srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
                                $pr \
                                $srcports $destports \
                                $srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
                                $pr \
                                $srcports $destports \
-                               $redirect_src_mac \
+                               $sm \
                                $redirect_extra \
                        }
                done
                                $redirect_extra \
                        }
                done