aboutsummaryrefslogtreecommitdiffstats
path: root/packages/miniupnpd/status_upnp.php
diff options
context:
space:
mode:
authorRyan Wagoner <rsw686@pfsense.org>2006-12-03 14:56:16 +0000
committerRyan Wagoner <rsw686@pfsense.org>2006-12-03 14:56:16 +0000
commite3875fd31091c6f36ae78f9e9754d3d6dd27aa32 (patch)
tree3ce377c866ebc5e07b784b3f3bab7f01f07d9388 /packages/miniupnpd/status_upnp.php
parent0a8ab3b66a74c396705adf7db833209281d3628a (diff)
downloadpfsense-packages-e3875fd31091c6f36ae78f9e9754d3d6dd27aa32.tar.gz
pfsense-packages-e3875fd31091c6f36ae78f9e9754d3d6dd27aa32.tar.bz2
pfsense-packages-e3875fd31091c6f36ae78f9e9754d3d6dd27aa32.zip
fix status page when log packets option is checked
Diffstat (limited to 'packages/miniupnpd/status_upnp.php')
-rw-r--r--packages/miniupnpd/status_upnp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/miniupnpd/status_upnp.php b/packages/miniupnpd/status_upnp.php
index d1928ee0..35aae38f 100644
--- a/packages/miniupnpd/status_upnp.php
+++ b/packages/miniupnpd/status_upnp.php
@@ -88,7 +88,7 @@ include("head.inc");
<td width="60%" class="listhdr"><?=gettext("Description")?></td>
</tr>
<?php $i = 0; foreach ($rdr_entries as $rdr_entry) {
- if (preg_match("/rdr 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 \"(.*)\" -> (.*) port (.*)/", $rdr_entry, $matches))
$rdr_proto = $matches[2];
$rdr_port = $matches[3];
$rdr_ip = $matches[5];