]> 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, 24 Apr 2017 23:30:58 +0000 (20:30 -0300)
commita9916d2bf36c8986e8a9b2abd3da169a16f3d9bb
tree177c58589572252a550b8e7e6e3f930262fb1ae9
parentfa68f9da9e0589ef257b216b5108c8ce3d7a9ded
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