mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
parent
7aeea1637c
commit
1fda0968c2
@ -819,6 +819,17 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
|
||||
echo "<option value=\"{$lb['name']}\">{$lb['name']}</option>\n";
|
||||
}
|
||||
}
|
||||
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
|
||||
if($config['interfaces']['opt' . $i]['ipaddr'] == "dhcp") {
|
||||
$descr = $config['interfaces']['opt' . $i]['descr'];
|
||||
if ($pconfig['gateway'] == $config['interfaces']['opt' . $i]) {
|
||||
$selected = " SELECTED";
|
||||
} else {
|
||||
$selected = "";
|
||||
}
|
||||
echo "<option value=\"opt{$i}\" {$selected}>OPT{$i} - {$descr}</option>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<p><strong>Leave blank for default.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user