Project

General

Profile

« Previous | Next » 

Revision 11decf6e

Added by Ermal LUÇI over 14 years ago

Show carp on the list of interfaces to be used for creating gif/gre tunnels.

View differences:

usr/local/www/interfaces_gif_edit.php
136 136
                    <select name="if" class="formselect">
137 137
                      <?php
138 138
						$portlist = get_configured_interface_with_descr();
139
						$carplist = get_configured_carp_interface_list();
140
                                                foreach ($carplist as $cif => $carpip)
141
                                                        $portlist[$cif] = $carpip." (".get_vip_descr($carpip).")";
139 142
					  	foreach ($portlist as $ifn => $ifinfo) {
140 143
							echo "<option value=\"{$ifn}\"";
141 144
							if ($ifn == $pconfig['if'])
usr/local/www/interfaces_gre_edit.php
139 139
                    <select name="if" class="formselect">
140 140
                      <?php
141 141
						$portlist = get_configured_interface_with_descr();
142
						$carplist = get_configured_carp_interface_list();
143
						foreach ($carplist as $cif => $carpip)
144
							$portlist[$cif] = $carpip." (".get_vip_descr($carpip).")";
142 145
					  	foreach ($portlist as $ifn => $ifinfo) {
143 146
							echo "<option value=\"{$ifn}\"";
144 147
							if ($ifn == $pconfig['if'])

Also available in: Unified diff