diff options
| -rw-r--r-- | ospfd/ospfd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 6a8148c623..d7406e4e19 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -324,9 +324,9 @@ static struct ospf *ospf_new(unsigned short instance, const char *name) new->fd = -1; if ((ospf_sock_init(new)) < 0) { if (new->vrf_id != VRF_UNKNOWN) - zlog_warn( - "%s: ospf_sock_init is unable to open a socket", - __func__); + flog_err(LIB_ERR_SOCKET, + "%s: ospf_sock_init is unable to open a socket", + __func__); return new; } thread_add_read(master, ospf_read, new, new->fd, &new->t_read); |
