diff options
author | Kristian Lyngstøl <kly@kly.no> | 2018-03-21 10:43:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 10:43:33 +0100 |
commit | 4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch) | |
tree | 5b4b00409761f44227b9294e0c62f059ab68fae9 /web/api/public/location | |
parent | 0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff) | |
parent | dfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff) |
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'web/api/public/location')
-rwxr-xr-x | web/api/public/location | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/location b/web/api/public/location index 2247f73..b960bb2 100755 --- a/web/api/public/location +++ b/web/api/public/location @@ -8,7 +8,7 @@ use warnings; use Data::Dumper; #my $query = $nms::web::dbh->prepare("select * from switches where '185.110.150.7' << subnet4"); -my $query = $nms::web::dbh->prepare("select * from switches where ? << subnet4 or ? << subnet6"); +my $query = $nms::web::dbh->prepare("select * from switches where deleted = false and (? << subnet4 or ? << subnet6)"); print "Cache-Control: max-age=0"; print "Content-Type: text/html"; |