strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0672aa7
)
filtering out non matching path probing pairs explicitly
author
Martin Willi
<martin@strongswan.org>
Fri, 23 May 2008 15:43:42 +0000
(15:43 -0000)
committer
Martin Willi
<martin@strongswan.org>
Fri, 23 May 2008 15:43:42 +0000
(15:43 -0000)
src/charon/sa/tasks/ike_mobike.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/tasks/ike_mobike.c
b/src/charon/sa/tasks/ike_mobike.c
index
c27f614
..
da292d5
100644
(file)
--- a/
src/charon/sa/tasks/ike_mobike.c
+++ b/
src/charon/sa/tasks/ike_mobike.c
@@
-281,6
+281,11
@@
static void transmit(private_ike_mobike_t *this, packet_t *packet)
charon->kernel_interface, other);
if (me)
{
charon->kernel_interface, other);
if (me)
{
+ if (me->get_family(me) != other->get_family(other))
+ {
+ me->destroy(me);
+ continue;
+ }
/* reuse port for an active address, 4500 otherwise */
me->set_port(me, me->ip_equals(me, me_old) ?
me_old->get_port(me_old) : IKEV2_NATT_PORT);
/* reuse port for an active address, 4500 otherwise */
me->set_port(me, me->ip_equals(me, me_old) ?
me_old->get_port(me_old) : IKEV2_NATT_PORT);