diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-04-17 21:50:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-04-17 21:50:19 +0000 |
commit | d2de57fe36311f8f3610b1663791115523d0ebdd (patch) | |
tree | 2b13f343ddbeb72c173c5f491f2f386a8d569b3d /usr.sbin/ospfd/ospfd.c | |
parent | ffba4fc4c3d751442d10867eab500c17723efafc (diff) |
Use fatalx() instead of ospfd_shutdown() if kr_init() fails.
OK henning@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.c')
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index 4950c68df8c..2b24f1d59ff 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.15 2005/03/26 13:53:51 henning Exp $ */ +/* $OpenBSD: ospfd.c,v 1.16 2005/04/17 21:50:18 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -228,7 +228,7 @@ main(int argc, char *argv[]) event_add(&ibuf_rde->ev, NULL); if (kr_init(!(conf->flags & OSPFD_FLAG_NO_FIB_UPDATE)) == -1) - ospfd_shutdown(); + fatalx("kr_init failed"); show_config(conf); |