diff --git a/src/modules/whois.c b/src/modules/whois.c index f8d1d7563..370acfccf 100644 --- a/src/modules/whois.c +++ b/src/modules/whois.c @@ -565,7 +565,7 @@ CMD_FUNC(cmd_whois) /* The following code deals with security-groups */ policy = whois_get_policy(client, target, "security-groups"); - if (policy > WHOIS_CONFIG_DETAILS_NONE) + if ((policy > WHOIS_CONFIG_DETAILS_NONE) && !IsULine(target)) { SecurityGroup *s; int security_groups_whois_lines = 0;