Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mesh
meshmap
Commits
d47b65a8
Commit
d47b65a8
authored
Feb 02, 2019
by
Eric - kg6wxc
Browse files
Merge branch 'NodePollingFix' into 'master'
bugfix: $meshRF was not always getting set correctly. See merge request
!8
parents
cf16b9c9
7e01a588
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/get-map-info.php
View file @
d47b65a8
...
...
@@ -388,8 +388,11 @@ if ($getNodeInfo) {
else
{
$chanbw
=
"0"
;
}
if
(
$meshRF
==
"off"
)
{
$ssid
=
"NONE"
;
if
(
isset
(
$result
[
'meshrf'
][
'status'
]))
{
if
(
$result
[
'meshrf'
][
'status'
]
==
"off"
)
{
$meshRF
=
"off"
;
$ssid
=
"NONE"
;
}
}
else
{
$ssid
=
$result
[
'meshrf'
][
'ssid'
];
}
...
...
scripts/parallel_node_polling.php
View file @
d47b65a8
...
...
@@ -160,8 +160,11 @@ if($sysinfoJson === FALSE) {
else
{
$chanbw
=
"0"
;
}
if
(
$meshRF
==
"off"
)
{
$ssid
=
"NONE"
;
if
(
isset
(
$result
[
'meshrf'
][
'status'
]))
{
if
(
$result
[
'meshrf'
][
'status'
]
==
"off"
)
{
$meshRF
=
"off"
;
$ssid
=
"NONE"
;
}
}
else
{
$ssid
=
$result
[
'meshrf'
][
'ssid'
];
}
...
...
Write
Preview
Supports
Markdown
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