]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: fix log level of log_warn() and log_warnx()
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 18 Apr 2017 15:14:15 +0000 (12:14 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 5 Jun 2017 15:18:58 +0000 (12:18 -0300)
commit9785dbcbca1a09806217e20b033a71789a89623b
treea1627d3d44f469dfba7db80f97fb0d05d5f1eaf5
parent0b4d8f1e38ea1dbade4d2f714775608b379e992e
ldpd: fix log level of log_warn() and log_warnx()

The log_warn() and log_warnx() functions indicate non-critical warnings
and errors, so use LOG_ERR instead of LOG_CRIT.

Keep using LOG_CRIT only in fatal() and fatalx() since these functions
indicate critical errors (when the program needs to exit).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/log.c