This commit is contained in:
crusader 2018-09-03 16:56:41 +09:00
parent 704ba5cc5d
commit 45121e83ae

View File

@ -67,7 +67,9 @@ func (t *NBSSMatcher) Match(info osm.MatchInfo, index int, packet *osm.Packet) e
return osm.NotMatchedError() return osm.NotMatchedError()
} }
if NBSS_NEGATIVE_SESSION_RESPONSE != n.MsgType { switch n.MsgType {
case NBSS_POSITIVE_SESSION_RESPONSE, NBSS_NEGATIVE_SESSION_RESPONSE:
default:
return osm.NotMatchedError() return osm.NotMatchedError()
} }