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
85b5bae1
Commit
85b5bae1
authored
Aug 12, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crash reporter: another issue in virtual ip configuration
parent
5b379a6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
firewall_virtual_ip.php
src/www/firewall_virtual_ip.php
+2
-1
No files found.
src/www/firewall_virtual_ip.php
View file @
85b5bae1
...
@@ -103,7 +103,7 @@ if ($_GET['act'] == "del") {
...
@@ -103,7 +103,7 @@ if ($_GET['act'] == "del") {
$subnet
.=
"/"
.
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
];
$subnet
.=
"/"
.
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
];
$if_subnet
.=
"/"
.
$if_subnet_bits
;
$if_subnet
.=
"/"
.
$if_subnet_bits
;
if
(
is
_array
(
$config
[
'gateways'
][
'gateway_item'
]))
if
(
is
set
(
$config
[
'gateways'
][
'gateway_item'
]))
{
foreach
(
$config
[
'gateways'
][
'gateway_item'
]
as
$gateway
)
{
foreach
(
$config
[
'gateways'
][
'gateway_item'
]
as
$gateway
)
{
if
(
$a_vip
[
$_GET
[
'id'
]][
'interface'
]
!=
$gateway
[
'interface'
])
if
(
$a_vip
[
$_GET
[
'id'
]][
'interface'
]
!=
$gateway
[
'interface'
])
continue
;
continue
;
...
@@ -119,6 +119,7 @@ if ($_GET['act'] == "del") {
...
@@ -119,6 +119,7 @@ if ($_GET['act'] == "del") {
break
;
break
;
}
}
}
}
}
if
(
$a_vip
[
$_GET
[
'id'
]][
'mode'
]
==
"ipalias"
)
{
if
(
$a_vip
[
$_GET
[
'id'
]][
'mode'
]
==
"ipalias"
)
{
$subnet
=
gen_subnet
(
$a_vip
[
$_GET
[
'id'
]][
'subnet'
],
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
])
.
"/"
.
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
];
$subnet
=
gen_subnet
(
$a_vip
[
$_GET
[
'id'
]][
'subnet'
],
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
])
.
"/"
.
$a_vip
[
$_GET
[
'id'
]][
'subnet_bits'
];
...
...
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