diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-12 13:50:14 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-12 13:50:14 +0000 |
commit | d7934d0cfc84805bebc59f866c4af2f6e9687370 (patch) | |
tree | 25d99a2f178383e28996186a1d56de682f5eb503 /src/charon/threads/stroke_interface.c | |
parent | a095243f604ea0dd3023acbef3622a0d53200dd3 (diff) | |
download | strongswan-d7934d0cfc84805bebc59f866c4af2f6e9687370.tar.bz2 strongswan-d7934d0cfc84805bebc59f866c4af2f6e9687370.tar.xz |
implemented updown script to handle firewalling
Diffstat (limited to 'src/charon/threads/stroke_interface.c')
-rwxr-xr-x | src/charon/threads/stroke_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/threads/stroke_interface.c b/src/charon/threads/stroke_interface.c index 3a39990a9..3c84415f4 100755 --- a/src/charon/threads/stroke_interface.c +++ b/src/charon/threads/stroke_interface.c @@ -222,7 +222,7 @@ static void stroke_add_conn(private_stroke_t *this, stroke_msg_t *msg) return; } - if (charon->socket->is_local_address(charon->socket, other_host)) + if (charon->socket->is_local_address(charon->socket, other_host, NULL)) { stroke_end_t tmp_end; host_t *tmp_host; @@ -238,7 +238,7 @@ static void stroke_add_conn(private_stroke_t *this, stroke_msg_t *msg) msg->add_conn.me = msg->add_conn.other; msg->add_conn.other = tmp_end; } - else if (!charon->socket->is_local_address(charon->socket, my_host)) + else if (!charon->socket->is_local_address(charon->socket, my_host, NULL)) { this->stroke_logger->log(this->stroke_logger, ERROR, "left nor right host is our side, aborting"); |