mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Update pattern for rtable support
This commit is contained in:
parent
01ac16abc2
commit
91979c27d9
@ -83,7 +83,7 @@ if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] ||
|
||||
<td width="60%" class="listhdr"><?=gettext("Description")?></td>
|
||||
</tr>
|
||||
<?php $i = 0; foreach ($rdr_entries as $rdr_entry) {
|
||||
if (preg_match("/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 \"(.*)\" rtable [0-9] -> (.*) port (.*)/", $rdr_entry, $matches))
|
||||
$rdr_proto = $matches[2];
|
||||
$rdr_port = $matches[3];
|
||||
$rdr_ip = $matches[5];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user