]> git.meshlink.io Git - meshlink/blobdiff - src/conf.c
- Changed genauth to produce rsa keypairs instead of random passphrases.
[meshlink] / src / conf.c
index bfa0fee1bc291e7a484c6c1636285d31289546a5..1b729b2c15d10ff868e3835be56f05825cff073c 100644 (file)
@@ -19,7 +19,7 @@
     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.8 2000/08/09 14:02:15 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 },
+  { "Name",         tincname,       TYPE_NAME },
   { NULL, 0, 0 }
 };
 
@@ -214,7 +215,7 @@ read_config_file(const char *fname)
 cp
   if((fp = fopen (fname, "r")) == NULL)
     {
-      fprintf(stderr, _("Could not open %s: %s\n"), fname, sys_errlist[errno]);
+      fprintf(stderr, _("Could not open %s: %s\n"), fname, strerror(errno));
       return 1;
     }