diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-07-05 14:53:56 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-07-05 14:53:56 +0200 |
commit | 8f7e8e075a269fddaf4a8ec2cf970a5eba9d35dc (patch) | |
tree | fbe0a51adc624143ef84c6ea00961a852c6a4012 | |
parent | a4c0da1669577147ca1508c61e955371fdc600c8 (diff) | |
download | strongswan-8f7e8e075a269fddaf4a8ec2cf970a5eba9d35dc.tar.bz2 strongswan-8f7e8e075a269fddaf4a8ec2cf970a5eba9d35dc.tar.xz |
Fixed typo.
-rw-r--r-- | src/libcharon/network/receiver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/network/receiver.c b/src/libcharon/network/receiver.c index bf6ccf792..63a8cab58 100644 --- a/src/libcharon/network/receiver.c +++ b/src/libcharon/network/receiver.c @@ -257,7 +257,7 @@ static bool cookie_required(private_receiver_t *this, message_t *message) /** * check if peer has to many half open IKE_SAs */ -static bool peer_to_aggressive(private_receiver_t *this, message_t *message) +static bool peer_too_aggressive(private_receiver_t *this, message_t *message) { if (charon->ike_sa_manager->get_half_open_count(charon->ike_sa_manager, message->get_source(message)) >= this->block_threshold) @@ -335,7 +335,7 @@ static job_requeue_t receive_packets(private_receiver_t *this) } /* check if peer has not too many IKE_SAs half open */ - if (this->block_threshold && peer_to_aggressive(this, message)) + if (this->block_threshold && peer_too_aggressive(this, message)) { DBG1(DBG_NET, "ignoring IKE_SA setup from %H, " "peer too aggressive", message->get_source(message)); |