version 1.1.1.1, 2012/02/21 22:39:10
|
version 1.1.1.2, 2014/06/15 16:37:12
|
Line 1
|
Line 1
|
/* $NetBSD: isakmp.c,v 1.71 2011/03/15 13:20:14 vanhu Exp $ */ | /* $NetBSD: isakmp.c,v 1.71.2.2 2012/08/29 08:55:26 tteras Exp $ */ |
|
|
/* Id: isakmp.c,v 1.74 2006/05/07 21:32:59 manubsd Exp */ |
/* Id: isakmp.c,v 1.74 2006/05/07 21:32:59 manubsd Exp */ |
|
|
Line 2186 isakmp_post_acquire(iph2, iph1hint, nopassive)
|
Line 2186 isakmp_post_acquire(iph2, iph1hint, nopassive)
|
"because of passive mode, " |
"because of passive mode, " |
"ignore the acquire message for %s.\n", |
"ignore the acquire message for %s.\n", |
saddrwop2str(iph2->dst)); |
saddrwop2str(iph2->dst)); |
return 0; | return -1; |
} |
} |
|
|
/* |
/* |
Line 2943 copy_ph1addresses(iph1, rmconf, remote, local)
|
Line 2943 copy_ph1addresses(iph1, rmconf, remote, local)
|
port = myaddr_getsport(iph1->local); |
port = myaddr_getsport(iph1->local); |
if (port == 0) |
if (port == 0) |
port = PORT_ISAKMP; |
port = PORT_ISAKMP; |
set_port(iph1->local, PORT_ISAKMP); | set_port(iph1->local, port); |
} |
} |
|
|
#ifdef ENABLE_NATT |
#ifdef ENABLE_NATT |