This commit is contained in:
yo 2022-07-23 17:39:22 +02:00
parent fe85f4f566
commit 2e6359fbc1

View File

@ -187,7 +187,7 @@ func (o *OpenldapLog) Parse(text []byte) (LogFormat, error) {
}
// Now handle Operation Type
if len(group[11]) > 0 || len(group[13]) > 0 || len(group[14]) > 0 || len(group[15]) > 0 {
if len(group[12]) > 0 || len(group[13]) > 0 || len(group[14]) > 0 || len(group[15]) > 0 || len(group[16]) > 0 {
logFormat.OpType = "bind"
} else if len(group[11]) > 0 {
logFormat.OpType = "starttls"