On 7/14/19 9:16 PM, Honggang Li wrote:
If the target was disallowed by rule file, user can not distinguish that from the old debug message. pr_debug("Found an SRP target with id_ext %s - check if it allowed by rules file\n", target->id_ext); It implicitly implied by the message next to the old debug message. pr_debug("Found an SRP target with id_ext %s - check if it is already connected\n", target->id_ext); The improved debug message will feedback the check result of rule file, user no longer needs to wonder the target is allowed or not.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>