aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/bus/listeners
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/bus/listeners')
-rw-r--r--src/libcharon/bus/listeners/listener.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcharon/bus/listeners/listener.h b/src/libcharon/bus/listeners/listener.h
index 274701012..ef4daced2 100644
--- a/src/libcharon/bus/listeners/listener.h
+++ b/src/libcharon/bus/listeners/listener.h
@@ -197,13 +197,11 @@ struct listener_t {
* This hook gets invoked when a a Virtual IP address is assigned to an
* IKE_SA (assign = TRUE) and again when it is released (assign = FALSE)
*
- * @param ike_sa IKE_SA the VIP is assigned to
- * @param vip Virtual IPv4 or IV6 address
+ * @param ike_sa IKE_SA the VIPs are assigned to
* @param assign TRUE if assigned to IKE_SA, FALSE if released
* @return TRUE to stay registered, FALSE to unregister
*/
- bool (*assign_vip)(listener_t *this, ike_sa_t *ike_sa, host_t *vip,
- bool assign);
+ bool (*assign_vips)(listener_t *this, ike_sa_t *ike_sa, bool assign);
};