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
fe499d17
Commit
fe499d17
authored
Apr 14, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ipsec dashboard widget
parent
673903cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ipsec.widget.php
src/www/widgets/widgets/ipsec.widget.php
+2
-3
No files found.
src/www/widgets/widgets/ipsec.widget.php
View file @
fe499d17
...
...
@@ -45,7 +45,7 @@ if (isset($config['ipsec']['phase1'])){?>
$spd
=
ipsec_dump_spd
();
$sad
=
ipsec_dump_sad
();
$mobile
=
ipsec_dump_mobile
();
$mobile
=
array
();
// TODO: temporary disabled ( https://github.com/opnsense/core/issues/139 )
ipsec_dump_mobile();
$ipsec_status
=
ipsec_smp_dump_status
();
$activecounter
=
0
;
...
...
@@ -66,8 +66,7 @@ if (isset($config['ipsec']['phase1'])){?>
$tun_disabled
=
"true"
;
continue
;
}
if
(
ipsec_phase1_status
(
$ipsec_status
,
$ph1ent
))
{
if
(
isset
(
$ipsec_status
[
'query'
][
'ikesalist'
][
'ikesa'
])
&&
isset
(
$ph1ent
[
'ikeid'
])
&&
ipsec_phase1_status
(
$ipsec_status
[
'query'
][
'ikesalist'
][
'ikesa'
],
$ph1ent
[
'ikeid'
]))
{
/* tunnel is up */
$iconfn
=
"true"
;
$activecounter
++
;
...
...
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