projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big and bad commit of my current tree...
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
3b1eb49
..
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.
7 2000/08/07 14:52:14 guus
Exp $
+ $Id: conf.c,v 1.9.4.
10 2000/09/14 14:34:38 zarq
Exp $
*/
*/
@@
-72,6
+72,9
@@
static internal_config_t hazahaza[] = {
{ "Hostnames", resolve_dns, TYPE_BOOL },
{ "IndirectData", indirectdata, TYPE_BOOL },
{ "TCPonly", tcponly, TYPE_BOOL },
{ "Hostnames", resolve_dns, TYPE_BOOL },
{ "IndirectData", indirectdata, TYPE_BOOL },
{ "TCPonly", tcponly, TYPE_BOOL },
+ { "Interface", interface, TYPE_NAME },
+ { "InterfaceIP", interfaceip, TYPE_IP },
+ { "Name", tincname, TYPE_NAME },
{ NULL, 0, 0 }
};
{ NULL, 0, 0 }
};
@@
-212,7
+215,7
@@
read_config_file(const char *fname)
cp
if((fp = fopen (fname, "r")) == NULL)
{
cp
if((fp = fopen (fname, "r")) == NULL)
{
- fprintf(stderr, _("Could not open %s: %s\n"), fname, s
ys_errlist[errno]
);
+ fprintf(stderr, _("Could not open %s: %s\n"), fname, s
trerror(errno)
);
return 1;
}
return 1;
}