Use analysinng instead of function
This commit is contained in:
parent
0728c04bf4
commit
52aed5b0bf
|
@ -538,7 +538,7 @@ public:
|
||||||
inline Function GetFunction() const { return function; }
|
inline Function GetFunction() const { return function; }
|
||||||
inline PacketQueue * GetPacketQueue() { return &packetqueue; }
|
inline PacketQueue * GetPacketQueue() { return &packetqueue; }
|
||||||
inline bool Enabled() const {
|
inline bool Enabled() const {
|
||||||
if (function <= MONITOR)
|
if (analysing == ANALYSING_NONE)
|
||||||
return false;
|
return false;
|
||||||
return enabled;
|
return enabled;
|
||||||
}
|
}
|
||||||
|
@ -554,7 +554,7 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
inline bool Active() const {
|
inline bool Active() const {
|
||||||
if (function <= MONITOR)
|
if (analysing == ANALYSING_NONE)
|
||||||
return false;
|
return false;
|
||||||
return (enabled && shared_data->active);
|
return (enabled && shared_data->active);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue