Skip to content

Commit a56c8ab

Browse files
author
Florian Schaal
committed
allow ipv6 wildcard for client web-domain
1 parent d240f6d commit a56c8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/web_vhost_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function onShowEnd() {
218218
//* Fill the IPv6 select field with the IP addresses that are allowed for this client
219219
$sql = "SELECT ip_address FROM server_ip WHERE server_id IN ? AND ip_type = 'IPv6' AND (client_id = 0 OR client_id=?)";
220220
$ips = $app->db->queryAllRecords($sql, explode(',', $client['web_servers']), $_SESSION['s']['user']['client_id']);
221-
$ip_select = "<option value=''></option>";
221+
$ip_select = ($web_config[$server_id]['enable_ip_wildcard'] == 'y')?"<option value='*'>*</option>":"";
222222
//$ip_select = "";
223223
if(is_array($ips)) {
224224
foreach( $ips as $ip) {

0 commit comments

Comments
 (0)