summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-08 23:12:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-08 23:12:33 +0000
commit961d69fc33dd4c2c791a1011ea700716dc138ba1 (patch)
treee42810383af73d393a07b2837a5cb74b9b7cc1f8
parente180a6e3cd100ae365037b5b1da08f1be473107f (diff)
downloadpfsense-961d69fc33dd4c2c791a1011ea700716dc138ba1.zip
pfsense-961d69fc33dd4c2c791a1011ea700716dc138ba1.tar.gz
Populate $ints with the interface list correctly
-rwxr-xr-xusr/local/www/system.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index b8242ed..ed23272 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -230,9 +230,11 @@ include("head.inc");
foreach($config['interfaces'] as $int)
if($int['gateway'])
$multiwan = true;
- ?>
+ $ints = get_interface_list();
+ ?>
<input name="dns1" type="text" class="formfld unknown" id="dns1" size="20" value="<?=htmlspecialchars($pconfig['dns1']);?>">
<?php
+ $ints = get_interface_list();
if($multiwan) {
echo "<select name='dns1gwint'>\n";
foreach($ints as $int) {
OpenPOWER on IntegriCloud