diff options
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index d2a9caa..0d92d1a 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -290,7 +290,7 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript <?php $localport = $natent['local-port']; - list($dstbeginport, $dstendport) = split("-", $natent['destination']['port']); + list($dstbeginport, $dstendport) = explode("-", $natent['destination']['port']); if ($dstendport) { $localendport = $natent['local-port'] + $dstendport - $dstbeginport; |