Hi,
some months ago, something changed in the plugin and I see all access ports, also in case of trunk interfaces.
I tried to see why, I'm not a programmer, but I managed to make some modifications that work for me.
This is the diff from original to modified WhereIsVLAN.inc.php file:
3a4,15
> table, th, td {
> border: 1px solid black;
> border-collapse: collapse;
> padding-left: 10px;
> padding-right: 10px;
> padding-top: 2px;
> padding-bottom: 2px;
> }
> th { font-size: 110%; }
> .tg-head { font-size: 105% }
> .tg-q8xn { background-color: #D0D0F0; }
> .tg-yw4l { background-color: #EEEEEE; }
26c38
< $exclude_tagged = "ports_vlans.untagged != '0' AND ";
---
> $exclude_tagged = "ports.ifTrunk IS NOT NULL AND ";
32c44
< $exclude_untagged = "ports_vlans.untagged != '1' AND ";
---
> $exclude_untagged = "ports.ifTrunk IS NULL AND ";
106c118
< ports_vlans.untagged,
---
> ports.ifTrunk,
140c152
< $untagged = $line['untagged'];
---
> $untagged = $line['ifTrunk'];
210a223
> <td>ifTrunk</td>
226c239,244
< $type = $untagged ? "access port" : "trunk port";
---
> # $type = $untagged ? "access port" : "trunk port";
> if (is_null($untagged)) {
> $type = "access port";
> } else {
> $type = "trunk port" ;
> }
235a254
> <td>$type</td>
Hi,
some months ago, something changed in the plugin and I see all access ports, also in case of trunk interfaces.
I tried to see why, I'm not a programmer, but I managed to make some modifications that work for me.
This is the diff from original to modified WhereIsVLAN.inc.php file: