diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-09 17:48:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-09 17:48:54 +0100 |
commit | c78de7953e0975ab3d12112fd359520df5219efa (patch) | |
tree | 102d3523636cd8a877a796f2f1178d68618c4734 /bin/icli | |
parent | 5db47db82d0c62e0894253664ad98713b85f23c5 (diff) |
json api: support -lh
Diffstat (limited to 'bin/icli')
-rwxr-xr-x | bin/icli | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -356,7 +356,10 @@ sub filter_host { return 0; } - if ( $as_contact and not host_has_contact( $h, $as_contact ) ) { + if ( $as_contact + and not host_has_contact( $h, $as_contact ) + and not $api1_root ) + { return 0; } |