fix undef data error in JS, and when no remote_(ip|port)

This commit is contained in:
Oliver Gorwits
2014-08-25 17:13:11 +01:00
parent 4c08de9512
commit fb7bcbf120
2 changed files with 3 additions and 4 deletions

View File

@@ -33,8 +33,7 @@ WHERE d.ip = p.ip
WHERE a.alias = p.remote_ip
AND q.ip = a.ip
AND q.port = p.remote_port)
AND p.remote_ip IS NOT NULL
AND p.remote_port IS NOT NULL
AND (p.remote_id IS NOT NULL OR p.remote_type IS NOT NULL)
ENDSQL
);