Bug fix for issue introduced in revision 6510: if filter is not present, match all messages instead of matching none.
git-svn-id: http://voip.null.ro/svn/yate@6516 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
1972768171
commit
2e31d21bdd
|
@ -160,7 +160,7 @@ public:
|
|||
}
|
||||
inline bool filterMatches(const Message& msg) {
|
||||
RefPointer<SniffMatch> flt;
|
||||
return getFilter(flt) && flt->matches(msg);
|
||||
return !getFilter(flt) || flt->matches(msg);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue