summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php2
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;
OpenPOWER on IntegriCloud