From c78de7953e0975ab3d12112fd359520df5219efa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 9 Nov 2014 17:48:54 +0100 Subject: json api: support -lh --- bin/icli | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/icli b/bin/icli index 58dd5f9..6ab9958 100755 --- a/bin/icli +++ b/bin/icli @@ -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; } -- cgit v1.2.3