From 3b11f1b199fe5c1028ce9ee1973cd1bf78a16aca Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Mon, 10 May 2010 22:27:12 +0000 Subject: [PATCH] LOG_ERROR is not a valid loglevel. LOG_ERR is. --- Sip/MsgType.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 3f3c092..78d62d2 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -1533,7 +1533,7 @@ sub send_acs_status { } elsif ($protocol_version == 2) { $msg .= '2.00'; } else { - syslog("LOG_ERROR", + syslog("LOG_ERR", 'Bad setting for $protocol_version, "%s" in send_acs_status', $protocol_version); $msg .= '1.00'; @@ -1554,7 +1554,7 @@ sub send_acs_status { } } if (length($supported_msgs) < 16) { - syslog("LOG_ERROR", 'send_acs_status: supported messages "%s" too short', $supported_msgs); + syslog("LOG_ERR", 'send_acs_status: supported messages "%s" too short', $supported_msgs); } $msg .= add_field(FID_SUPPORTED_MSGS, $supported_msgs); } -- 2.11.0