- Fixed ans_key_h
- Removed tapsubnet configuration option.
This commit is contained in:
parent
35932fe6c8
commit
7398002ade
3 changed files with 5 additions and 7 deletions
|
@ -19,7 +19,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
$Id: conf.c,v 1.9.4.18 2000/10/29 00:02:17 guus Exp $
|
$Id: conf.c,v 1.9.4.19 2000/10/29 00:24:31 guus Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,7 +60,6 @@ static internal_config_t hazahaza[] = {
|
||||||
{ "ConnectTo", connectto, TYPE_NAME },
|
{ "ConnectTo", connectto, TYPE_NAME },
|
||||||
{ "PingTimeout", pingtimeout, TYPE_INT },
|
{ "PingTimeout", pingtimeout, TYPE_INT },
|
||||||
{ "TapDevice", tapdevice, TYPE_NAME },
|
{ "TapDevice", tapdevice, TYPE_NAME },
|
||||||
{ "TapSubnet", tapsubnet, TYPE_IP },
|
|
||||||
{ "PrivateKey", privatekey, TYPE_NAME },
|
{ "PrivateKey", privatekey, TYPE_NAME },
|
||||||
{ "KeyExpire", keyexpire, TYPE_INT },
|
{ "KeyExpire", keyexpire, TYPE_INT },
|
||||||
{ "Hostnames", resolve_dns, TYPE_BOOL },
|
{ "Hostnames", resolve_dns, TYPE_BOOL },
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
$Id: conf.h,v 1.6.4.14 2000/10/24 15:46:16 guus Exp $
|
$Id: conf.h,v 1.6.4.15 2000/10/29 00:24:31 guus Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __TINC_CONF_H__
|
#ifndef __TINC_CONF_H__
|
||||||
|
@ -37,7 +37,6 @@ typedef enum which_t {
|
||||||
connectto,
|
connectto,
|
||||||
pingtimeout,
|
pingtimeout,
|
||||||
tapdevice,
|
tapdevice,
|
||||||
tapsubnet,
|
|
||||||
privatekey,
|
privatekey,
|
||||||
keyexpire,
|
keyexpire,
|
||||||
resolve_dns,
|
resolve_dns,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
$Id: protocol.c,v 1.28.4.47 2000/10/29 00:02:19 guus Exp $
|
$Id: protocol.c,v 1.28.4.48 2000/10/29 00:24:31 guus Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -1074,8 +1074,8 @@ cp
|
||||||
BF_set_key(cl->cipher_pktkey, keylength, pktkey);
|
BF_set_key(cl->cipher_pktkey, keylength, pktkey);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cl->status.validkey = 1;
|
from->status.validkey = 1;
|
||||||
cl->status.waitingforkey = 0;
|
from->status.waitingforkey = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue