projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d335c6d
)
New directive: Name.
author
Ivo Timmermans
<ivo@lychnis.net>
Thu, 14 Sep 2000 14:34:38 +0000
(14:34 +0000)
committer
Ivo Timmermans
<ivo@lychnis.net>
Thu, 14 Sep 2000 14:34:38 +0000
(14:34 +0000)
src/conf.c
patch
|
blob
|
history
src/conf.h
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index
deb2e4a
..
1b729b2
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-19,7
+19,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
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 },
{ "Interface", interface, TYPE_NAME },
{ "InterfaceIP", interfaceip, TYPE_IP },
{ "TCPonly", tcponly, TYPE_BOOL },
{ "Interface", interface, TYPE_NAME },
{ "InterfaceIP", interfaceip, TYPE_IP },
+ { "Name", tincname, TYPE_NAME },
{ NULL, 0, 0 }
};
{ NULL, 0, 0 }
};
diff --git
a/src/conf.h
b/src/conf.h
index
b5d0892
..
a63821c
100644
(file)
--- a/
src/conf.h
+++ b/
src/conf.h
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
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,
interface,
interfaceip,
tcponly,
interface,
interfaceip,
+ tincname,
} which_t;
typedef struct config_t {
} which_t;
typedef struct config_t {