summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_upnp.php
diff options
context:
space:
mode:
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