Document the process shared by check_one_kline() and find_kline()

This commit is contained in:
Simon Arlott 2019-08-31 15:04:33 +01:00
parent 912d118fa2
commit b18dba6da8
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53
2 changed files with 5 additions and 0 deletions

View file

@ -570,6 +570,8 @@ check_klines(void)
/* check_one_kline() /* check_one_kline()
*
* This process needs to be kept in sync with find_kline() aka find_conf_by_address().
* *
* inputs - pointer to kline to check * inputs - pointer to kline to check
* outputs - * outputs -

View file

@ -198,6 +198,9 @@ get_mask_hash(const char *text)
/* struct ConfItem* find_conf_by_address(const char*, struct rb_sockaddr_storage*, /* struct ConfItem* find_conf_by_address(const char*, struct rb_sockaddr_storage*,
* int type, int fam, const char *username) * int type, int fam, const char *username)
*
* This process needs to be kept in sync with check_one_kline().
*
* Input: The hostname, the address, the type of mask to find, the address * Input: The hostname, the address, the type of mask to find, the address
* family, the username. * family, the username.
* Output: The matching value with the highest precedence. * Output: The matching value with the highest precedence.