ts.get_subnet() returns TRUE if the selector actually is a subnet

This commit is contained in:
Martin Willi
2012-03-20 17:30:44 +01:00
parent 26b55dc6c8
commit 764ee21d83
2 changed files with 6 additions and 3 deletions
@@ -203,8 +203,9 @@ struct traffic_selector_t {
*
* @param net converted subnet (has to be freed)
* @param mask converted net mask
* @return TRUE if traffic selector matches exactly to the subnet
*/
void (*to_subnet) (traffic_selector_t *this, host_t **net, u_int8_t *mask);
bool (*to_subnet) (traffic_selector_t *this, host_t **net, u_int8_t *mask);
/**
* Destroys the ts object