diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-20 21:57:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-20 21:57:09 +0000 |
commit | 458b5a213e6673ce16e56b31ca9430a029dfed06 (patch) | |
tree | 9df98e02b5ebffc759507cc6b35b06c190a5cfeb /packages/miniupnpd | |
parent | faa8753e83239e757c2290fb07b7d49d7310f317 (diff) | |
download | pfsense-packages-458b5a213e6673ce16e56b31ca9430a029dfed06.tar.gz pfsense-packages-458b5a213e6673ce16e56b31ca9430a029dfed06.tar.bz2 pfsense-packages-458b5a213e6673ce16e56b31ca9430a029dfed06.zip |
Bring status page up to speed with binary output for rdr's
Diffstat (limited to 'packages/miniupnpd')
-rw-r--r-- | packages/miniupnpd/status_upnp.php | 6 |
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"> |