summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-07-28 16:05:58 +0200
committerGitHub <noreply@github.com>2021-07-28 16:05:58 +0200
commit5b1c5bf2d869c6e1a6737017e078638b1e6c434f (patch)
treecc1fcbd61d108118579dc0daca14bad909f3db95 /ospfd
parentMerge pull request #9194 from idryzhov/pim-bool-false (diff)
parentospfd: don't exit when socket is not created (diff)
downloadfrr-5b1c5bf2d869c6e1a6737017e078638b1e6c434f.tar.xz
frr-5b1c5bf2d869c6e1a6737017e078638b1e6c434f.zip
Merge pull request #9189 from idryzhov/ospf-dont-exit
ospfd: don't exit when socket is not created
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 00fbdc21a..be06afe53 100644
--- a/ospfd/ospf_network.c
+++ b/ospfd/ospf_network.c
@@ -190,7 +190,7 @@ int ospf_sock_init(struct ospf *ospf)
flog_err(EC_LIB_SOCKET,
"ospf_read_sock_init: socket: %s",
safe_strerror(errno));
- exit(1);
+ return -1;
}
#ifdef IP_HDRINCL