ldap bug fixed
This commit is contained in:
parent
45121e83ae
commit
676c9d035e
|
@ -45,7 +45,7 @@ func (l *LDAPMatcher) Match(info osm.MatchInfo, index int, packet *osm.Packet) e
|
|||
}
|
||||
p := ber.DecodePacket(packet.Buffer)
|
||||
|
||||
if len(p.Children) <= 1 {
|
||||
if nil == p.Children || len(p.Children) <= 1 {
|
||||
return osm.NotMatchedError()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user