diff options
author | Ole Mathias Aa. Heggem <msbone1995@gmail.com> | 2018-03-21 13:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 13:27:46 +0100 |
commit | 2b3beb9f93fc6486169e47f96995a97dd64baf2a (patch) | |
tree | 7151c023924254d863387f484829b503759359ea /web/api/public/location | |
parent | 8f1eeeabe7b33d224ed9a8e19cc16825c144a0f6 (diff) | |
parent | 5abf053bac220b49539104bfa63805fd0829ca45 (diff) |
Merge branch 'master' into network-firstclass
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"; |