Projet

Général

Profil

« Précédent | Suivant » 

Révision ea0efb36

Ajouté par Ermal il y a plus de 9 ans

Show properly a setting of any for Identifiers to use in the status page

Voir les différences:

usr/local/www/diag_ipsec.php
132 132
			<?php   if (!is_array($ikesa['local']))
133 133
					echo "Unknown";
134 134
				else {
135
					if (!empty($ikesa['local']['identification']))
136
						echo htmlspecialchars($ikesa['local']['identification']);
137
					else
135
					if (!empty($ikesa['local']['identification'])) {
136
						if ($ikesa['local']['identification'] == '%any')
137
							echo 'Any identifier';
138
						else
139
							echo htmlspecialchars($ikesa['local']['identification']);
140
					} else
138 141
						echo 'Unknown';
139 142
				}
140 143
			?>
......
156 159
			<?php   if (!is_array($ikesa['remote']))
157 160
					echo "Unknown";
158 161
				else {
159
					if (!empty($ikesa['remote']['identification']))
160
						echo htmlspecialchars($ikesa['remote']['identification']);
161
					else
162
					if (!empty($ikesa['remote']['identification'])) {
163
						if ($ikesa['remote']['identification'] == '%any')
164
							echo 'Any identifier';
165
						else
166
							echo htmlspecialchars($ikesa['remote']['identification']);
167
					} else
162 168
						echo 'Unknown';
163 169
				}
164 170
			?>

Formats disponibles : Unified diff