At port init, the sendqueue dirty flag should be false not true
This commit is contained in:
parent
d8b9844dac
commit
c5fbceebb4
@ -34,7 +34,7 @@ AbstractPort::AbstractPort(int id, const char *device)
|
|||||||
|
|
||||||
data_.set_is_exclusive_control(false);
|
data_.set_is_exclusive_control(false);
|
||||||
|
|
||||||
isSendQueueDirty_ = true;
|
isSendQueueDirty_ = false;
|
||||||
linkState_ = OstProto::LinkStateUnknown;
|
linkState_ = OstProto::LinkStateUnknown;
|
||||||
|
|
||||||
memset((void*) &stats_, 0, sizeof(stats_));
|
memset((void*) &stats_, 0, sizeof(stats_));
|
||||||
|
Loading…
Reference in New Issue
Block a user