Skip to content

Commit

Permalink
exit after failure of parsing config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmei committed May 1, 2002
1 parent 096a5c1 commit 533cccb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions kame/kame/dhcp6/dhcp6c.c
@@ -1,4 +1,4 @@
/* $KAME: dhcp6c.c,v 1.60 2002/04/30 14:49:08 jinmei Exp $ */
/* $KAME: dhcp6c.c,v 1.61 2002/05/01 04:13:53 jinmei Exp $ */
/*
* Copyright (C) 1998 and 1999 WIDE Project.
* All rights reserved.
Expand Down Expand Up @@ -157,7 +157,10 @@ main(argc, argv)

ifinit(device);

cfparse(DHCP6C_CONF);
if ((cfparse(DHCP6C_CONF)) != 0) {
dprintf(LOG_ERR, "failed to parse configuration file");
exit(1);
}

client6_init();

Expand Down

0 comments on commit 533cccb

Please sign in to comment.