- Generalized config file parsing to support multiple configuration trees.

This commit is contained in:
Guus Sliepen 2000-10-11 13:42:52 +00:00
parent 451e9e3e7a
commit 6e39481d8f
3 changed files with 78 additions and 88 deletions

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: protocol.c,v 1.28.4.36 2000/09/26 14:06:06 guus Exp $
$Id: protocol.c,v 1.28.4.37 2000/10/11 13:42:52 guus Exp $
*/
#include "config.h"
@ -187,7 +187,7 @@ cp
/* Load information about peer */
if(!read_id(cl))
if(!read_host_config(cl))
{
syslog(LOG_ERR, _("Peer %s had unknown identity (%s)"), cl->hostname, cl->name);
return -1;