Document the process shared by check_one_kline() and find_kline()
This commit is contained in:
parent
912d118fa2
commit
b18dba6da8
2 changed files with 5 additions and 0 deletions
|
@ -570,6 +570,8 @@ check_klines(void)
|
|||
|
||||
|
||||
/* 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
|
||||
* outputs -
|
||||
|
|
|
@ -198,6 +198,9 @@ get_mask_hash(const char *text)
|
|||
|
||||
/* struct ConfItem* find_conf_by_address(const char*, struct rb_sockaddr_storage*,
|
||||
* 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
|
||||
* family, the username.
|
||||
* Output: The matching value with the highest precedence.
|
||||
|
|
Loading…
Reference in a new issue