summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_upnp.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-07-16 19:48:13 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-07-16 19:48:13 +0000
commitb5e64c5050f849de3ea173b0da6d6bbe0b9143bf (patch)
treeb62ea0933df6842e4ef3650db0f641953e79f7a5 /usr/local/www/status_upnp.php
parentafaf2b2edaeaaead2def3d9500451e06261b1979 (diff)
downloadpfsense-b5e64c5050f849de3ea173b0da6d6bbe0b9143bf.zip
pfsense-b5e64c5050f849de3ea173b0da6d6bbe0b9143bf.tar.gz
Update pattern for rtable support
Diffstat (limited to 'usr/local/www/status_upnp.php')
-rw-r--r--usr/local/www/status_upnp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_upnp.php b/usr/local/www/status_upnp.php
index 77a8caf..ca0c38d 100644
--- a/usr/local/www/status_upnp.php
+++ b/usr/local/www/status_upnp.php
@@ -77,7 +77,7 @@ if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] ||
<td width="60%" class="listhdr"><?=gettext("Description")?></td>
</tr>
<?php $i = 0; foreach ($rdr_entries as $rdr_entry) {
- if (preg_match("/on (.*) inet proto (.*) from any to any port = (.*) label \"(.*)\" -> (.*) port (.*)/", $rdr_entry, $matches))
+ if (preg_match("/on (.*) inet proto (.*) from any to any port = (.*) label \"(.*)\" rtable [0-9] -> (.*) port (.*)/", $rdr_entry, $matches))
$rdr_proto = $matches[2];
$rdr_port = $matches[3];
$rdr_ip = $matches[5];
OpenPOWER on IntegriCloud