summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
authorphildd <ict.advisor@nepal.inf.org>2013-12-30 07:45:49 -0800
committerphildd <ict.advisor@nepal.inf.org>2013-12-30 07:45:49 -0800
commit31300a95f71b14dcb98c139388205223a36e8c8b (patch)
treeae058f966bcde85161e9b1906aa43baae716b2ad /usr/local/www/services_dyndns_edit.php
parent32fd170342c72e209b994b1449bd01dca72ffe33 (diff)
downloadpfsense-31300a95f71b14dcb98c139388205223a36e8c8b.zip
pfsense-31300a95f71b14dcb98c139388205223a36e8c8b.tar.gz
List GWGs in Interface to send update from
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php26
1 files changed, 19 insertions, 7 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index ac5ada6..e1cbb55c2 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -267,13 +267,25 @@ function _onTypeChange(type){
</td>
</tr>
<tr id="_requestiftr">
- <td width="22%" valign="top" class="vncellreq"><?=gettext("Interface to send update from");?></td>
- <td width="78%" class="vtable">
- <select name="requestif" class="formselect" id="requestif">
- <?php $iflist = get_configured_interface_with_descr();
- foreach ($iflist as $if => $ifdesc):?>
- <option value="<?=$if;?>" <?php if ($pconfig['requestif'] == $if) echo "selected";?>><?=$ifdesc;?></option>
- <?php endforeach; ?>
+ <td width="22%" valign="top" class="vncellreq"><?=gettext("Interface to send update from");?></td>
+ <td width="78%" class="vtable">
+ <select name="requestif" class="formselect" id="requestif">
+ <?php
+ $iflist = get_configured_interface_with_descr();
+ foreach ($iflist as $if => $ifdesc) {
+ echo "<option value=\"{$if}\"";
+ if ($pconfig['requestif'] == $if)
+ echo "selected";
+ echo ">{$ifdesc}</option>\n";
+ }
+ $grouplist = return_gateway_groups_array();
+ foreach ($grouplist as $name => $group) {
+ echo "<option value=\"{$name}\"";
+ if ($pconfig['requestif'] == $name)
+ echo "selected";
+ echo ">GW Group {$name}</option>\n";
+ }
+ ?>
</select>
<br/><?= gettext("Note: This is almost always the same as the Interface to Monitor.");?>
</td>
OpenPOWER on IntegriCloud