Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
a976ac5b
Commit
a976ac5b
authored
Feb 02, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dhcp: fix a crash report
(cherry picked from commit
62a8d031
)
parent
a8e1d848
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
services_dhcp.php
src/www/services_dhcp.php
+1
-1
No files found.
src/www/services_dhcp.php
View file @
a976ac5b
...
...
@@ -279,7 +279,7 @@ if (isset($_POST['submit'])) {
$input_errors
[]
=
gettext
(
"You cannot use the broadcast address in the ending subnet range."
);
// Disallow a range that includes the virtualip
if
(
is
_array
(
$config
[
'virtualip'
][
'vip'
]))
{
if
(
is
set
(
$config
[
'virtualip'
][
'vip'
]))
{
foreach
(
$config
[
'virtualip'
][
'vip'
]
as
$vip
)
{
if
(
$vip
[
'interface'
]
==
$if
)
if
(
$vip
[
'subnet'
]
&&
is_inrange_v4
(
$vip
[
'subnet'
],
$_POST
[
'range_from'
],
$_POST
[
'range_to'
]))
...
...
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