bugfix
This commit is contained in:
parent
fe85f4f566
commit
2e6359fbc1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user