From Jianli Liu <jlliu@nortel.com>:

In racoonctl, use the specified socket path instead of the default location
This commit is contained in:
manu 2007-05-30 21:02:39 +00:00
parent d81aadc176
commit 23326f5b62
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-05-30 Emmanuel Dreyfus <manu@netbsd.org>
From Jianli Liu <jlliu@nortel.com>:
* src/racoon/kmpstat.c: Use the specified socket path instead of
the default location
2007-05-04 Yvan Vanhullebus <vanhu@netasq.com>
* src/racoon/pfkey.c: Force the update of ph2 in pk_recvupdate()
if NAT_T support, to solve some port match problems with the

View File

@ -1,4 +1,4 @@
/* $NetBSD: kmpstat.c,v 1.4 2006/09/09 16:22:09 manu Exp $ */
/* $NetBSD: kmpstat.c,v 1.5 2007/05/30 21:02:40 manu Exp $ */
/* $KAME: kmpstat.c,v 1.33 2004/08/16 08:20:28 itojun Exp $ */
@ -103,7 +103,7 @@ com_init()
memset(&name, 0, sizeof(name));
name.sun_family = AF_UNIX;
snprintf(name.sun_path, sizeof(name.sun_path),
"%s", ADMINSOCK_PATH);
"%s", adminsock_path);
so = socket(AF_UNIX, SOCK_STREAM, 0);
if (so < 0)