New directive: Name.

This commit is contained in:
Ivo Timmermans 2000-09-14 14:34:38 +00:00
parent d335c6d0d7
commit 296171d115
2 changed files with 4 additions and 2 deletions

View file

@ -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.9 2000/09/06 11:49:03 guus Exp $ $Id: conf.c,v 1.9.4.10 2000/09/14 14:34:38 zarq Exp $
*/ */
@ -74,6 +74,7 @@ static internal_config_t hazahaza[] = {
{ "TCPonly", tcponly, TYPE_BOOL }, { "TCPonly", tcponly, TYPE_BOOL },
{ "Interface", interface, TYPE_NAME }, { "Interface", interface, TYPE_NAME },
{ "InterfaceIP", interfaceip, TYPE_IP }, { "InterfaceIP", interfaceip, TYPE_IP },
{ "Name", tincname, TYPE_NAME },
{ NULL, 0, 0 } { NULL, 0, 0 }
}; };

View file

@ -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.8 2000/08/09 14:02:16 guus Exp $ $Id: conf.h,v 1.6.4.9 2000/09/14 14:34:38 zarq Exp $
*/ */
#ifndef __TINC_CONF_H__ #ifndef __TINC_CONF_H__
@ -52,6 +52,7 @@ typedef enum which_t {
tcponly, tcponly,
interface, interface,
interfaceip, interfaceip,
tincname,
} which_t; } which_t;
typedef struct config_t { typedef struct config_t {