Florian Schaal
2016-02-25 99fcaa5fe1ad2b813de0bb9e24f63cdc8d18837c
IPv6 - assign address (Fixes #3733)
1 files modified
4 ■■■■ changed files
server/plugins-available/network_settings_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/network_settings_plugin.inc.php
@@ -110,7 +110,7 @@
                        /*
                         * don't insert the main-ip again!
                         */
                        if ($rec['ip_address'] != $server_config['ip_address'])
                        if ($rec['ip_address'] != $server_config['ip_address'] && filter_var($rec['ip_address'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4))
                        {
                            $ip_records[$n] = array(
                                'id' => $n,
@@ -188,7 +188,7 @@
                        /*
                         * don't insert the main-ip again!
                         */
                        if ($rec['ip_address'] != $server_config['ip_address'])
                        if ($rec['ip_address'] != $server_config['ip_address'] && filter_var($rec['ip_address'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4))
                        {
                            $ip_records[$n] = array(
                                'id' => $n,