fix display even line
This commit is contained in:
parent
f1a06b5ba2
commit
cbad4f9fb0
@ -44,7 +44,7 @@ echo "-->\n";
|
|||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
function display_port($interface, $odd) {
|
function display_port($interface, $odd) {
|
||||||
if ($interface["port"] % 2) {
|
if ($interface["port"] % 2 == $odd) {
|
||||||
$shutdown = $interface["shutdown"] ?? "";
|
$shutdown = $interface["shutdown"] ?? "";
|
||||||
$linktype = $interface["linktype"] ?? "";
|
$linktype = $interface["linktype"] ?? "";
|
||||||
$tagged = $interface["tagged"] ?? "0";
|
$tagged = $interface["tagged"] ?? "0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user