Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
84
Issues
84
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
25c5c221
Commit
25c5c221
authored
Dec 20, 2013
by
José Luis Gutiérrez
Committed by
Alessandro Rubini
Feb 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
local management tool header function minor fix
/var/www/functions.php fix: master/slave issue.
parent
56fdb6a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
functions.php
userspace/rootfs_override/var/www/functions.php
+1
-1
No files found.
userspace/rootfs_override/var/www/functions.php
View file @
25c5c221
...
...
@@ -31,7 +31,7 @@ function wrs_header_ports(){
for
(
$i
=
1
;
$i
<
18
*
4
;
$i
=
$i
+
4
){
if
(
strstr
(
$ports
[(
$i
-
1
)],
"up"
)){
if
(
strcmp
(
$ports
[(
$i
)],
"Master"
)){
if
(
!
strcmp
(
$ports
[(
$i
)],
"Master"
)){
echo
'<th>'
.
"<IMG SRC='img/master.png' align=left , width=40 , hight=40 , border=0 , alt='master'>"
.
'</th>'
;
}
else
{
echo
'<th>'
.
"<IMG SRC='img/slave.png' align=left , width=40 , hight=40 , border=0 , alt='slave'>"
.
'</th>'
;
...
...
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