summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2003-10-24 00:49:17 +0000
committerpaul <paul>2003-10-24 00:49:17 +0000
commitb1809beaddff93c1bd01b73f937032be156a9dc7 (patch)
tree3eb4c7d9ef69e69e6c6755d2e306551cd3a95fe0 /ospfd
parent49e3b3c0646bb14b6f6104a2f4f4ab868915ed0a (diff)
2003-10-24 sowmini.varadhan@sun.com
* ospfd/ospf_network.c: (ospf_sock_init) Exit if socket can not be created.
Diffstat (limited to 'ospfd')
-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);
}