summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_network.c
diff options
context:
space:
mode:
authorpaul <paul>2003-10-24 02:49:17 +0200
committerpaul <paul>2003-10-24 02:49:17 +0200
commitb1809beaddff93c1bd01b73f937032be156a9dc7 (patch)
tree3eb4c7d9ef69e69e6c6755d2e306551cd3a95fe0 /ospfd/ospf_network.c
parent2003-10-23 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-b1809beaddff93c1bd01b73f937032be156a9dc7.tar.xz
frr-b1809beaddff93c1bd01b73f937032be156a9dc7.zip
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/ospf_network.c')
-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 87aec1e5c..87dfb60ac 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);
}