test
This commit is contained in:
@@ -45,6 +45,10 @@ func (l *LDAPMatcher) Match(info osm.MatchInfo, index int, packet *osm.Packet) e
|
||||
}
|
||||
p := ber.DecodePacket(packet.Buffer)
|
||||
|
||||
if len(p.Children) <= 1 {
|
||||
return osm.NotMatchedError()
|
||||
}
|
||||
|
||||
respID, ok := p.Children[0].Value.(int64)
|
||||
if !ok {
|
||||
return osm.NotMatchedError()
|
||||
|
||||
Reference in New Issue
Block a user