Skip to content

Commit

Permalink
[BF] fix display of IPv6 addresses in mac-address/list
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhilliard committed Jan 5, 2022
1 parent daee524 commit d37e285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/MacAddressController.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function listGetData( ?int $id = null ): array
->join( 'virtualinterface AS vi', 'vi.id', 'm.virtualinterfaceid' )
->join( 'vlaninterface AS vli', 'vli.virtualinterfaceid', 'vi.id' )
->leftjoin( 'ipv4address AS ipv4', 'ipv4.id', 'vli.ipv4addressid' )
->leftjoin( 'ipv6address AS ipv6', 'ipv4.id', 'vli.ipv6addressid' )
->leftjoin( 'ipv6address AS ipv6', 'ipv6.id', 'vli.ipv6addressid' )
->join( 'cust AS c', 'c.id', 'vi.custid' )
->leftjoin( 'physicalinterface AS pi', 'pi.virtualinterfaceid', 'vi.id' )
->leftjoin( 'switchport AS sp', 'sp.id', 'pi.switchportid' )
Expand Down

0 comments on commit d37e285

Please sign in to comment.