summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ospfd/ospf_network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 87aec1e5..87dfb60a 100644
--- a/ospfd/ospf_network.c
+++ b/ospfd/ospf_network.c
@@ -166,8 +166,8 @@ ospf_sock_init (void)
if ( ospfd_privs.change (ZPRIVS_LOWER) )
zlog_err ("ospf_sock_init: could not lower privs, %s",
strerror (errno) );
- zlog_warn ("ospf_read_sock_init: socket: %s", strerror (errno));
- return -1;
+ zlog_err ("ospf_read_sock_init: socket: %s", strerror (errno));
+ exit(-1);
}