aboutsummaryrefslogtreecommitdiffstats
path: root/packages/miniupnpd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/miniupnpd')
-rw-r--r--packages/miniupnpd/status_upnp.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/miniupnpd/status_upnp.php b/packages/miniupnpd/status_upnp.php
index b4a0606e..3eb4486d 100644
--- a/packages/miniupnpd/status_upnp.php
+++ b/packages/miniupnpd/status_upnp.php
@@ -60,11 +60,11 @@ 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 = (.*) -> (.*) port (.*)/", $rdr_entry, $matches))
+ if (preg_match("/rdr on (.*) inet proto (.*) from any to any port = (.*) label \"(.*)\" -> (.*) port (.*)/", $rdr_entry, $matches))
$rdr_proto = $matches[2];
$rdr_port = $matches[3];
- $rdr_ip = $matches[4];
- $rdr_label =$matches[5];
+ $rdr_ip = $matches[5];
+ $rdr_label =$matches[4];
?>
<tr>
<td class="listlr">