SQL Statements simplified and some bugfixing
This commit is contained in:
12
nodeview.php
12
nodeview.php
@@ -74,13 +74,15 @@
|
||||
nat.nat_ext AS nat_ext,
|
||||
nat.nat_int AS nat_int,
|
||||
node_ext.node_ip AS node_ip_ext,
|
||||
node_int.node_ip AS node_ip_int
|
||||
node_int.node_ip AS node_ip_int,
|
||||
node_int.node_id AS node_id_int,
|
||||
node_ext.node_id AS node_id_ext
|
||||
FROM
|
||||
asset asset_ext,
|
||||
asset asset_int,
|
||||
asset AS asset_ext,
|
||||
asset AS asset_int,
|
||||
nat,
|
||||
node node_ext,
|
||||
node node_int
|
||||
node AS node_ext,
|
||||
node AS node_int
|
||||
WHERE
|
||||
(nat.nat_ext=" . $node_id . "
|
||||
OR nat.nat_int=" . $node_id . ")
|
||||
|
||||
Reference in New Issue
Block a user