Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
99fcaa5f
Commit
99fcaa5f
authored
Feb 25, 2016
by
Florian Schaal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6 - assign address (Fixes #3733)
parent
b0fb62f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server/plugins-available/network_settings_plugin.inc.php
server/plugins-available/network_settings_plugin.inc.php
+2
-2
No files found.
server/plugins-available/network_settings_plugin.inc.php
View file @
99fcaa5f
...
...
@@ -110,7 +110,7 @@ class network_settings_plugin {
/*
* 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 @@ class network_settings_plugin {
/*
* 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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment