From 91979c27d96dc2cd30e68efb398f05067e5ea53d Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Wed, 16 Jul 2008 19:49:07 +0000 Subject: [PATCH] Update pattern for rtable support --- usr/local/www/status_upnp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/status_upnp.php b/usr/local/www/status_upnp.php index cea49a84ee..aef7389af7 100644 --- a/usr/local/www/status_upnp.php +++ b/usr/local/www/status_upnp.php @@ -83,7 +83,7 @@ if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] || (.*) 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];