From e3875fd31091c6f36ae78f9e9754d3d6dd27aa32 Mon Sep 17 00:00:00 2001 From: Ryan Wagoner Date: Sun, 3 Dec 2006 14:56:16 +0000 Subject: fix status page when log packets option is checked --- packages/miniupnpd/status_upnp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/miniupnpd') 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"); (.*) 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]; -- cgit v1.2.3