Skip to content

Commit 69f9ee5

Browse files
author
novikauanton
authored
fix mclagsyncd out of order initialization (#2112)
1 parent 6cb43ee commit 69f9ee5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mclagsyncd/mclaglink.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ namespace swss {
189189
typedef std::tuple<std::string, std::string> vlan_mbr;
190190

191191
class MclagLink : public Selectable {
192-
192+
193193
private:
194-
Select *m_select;
194+
const int MSG_BATCH_SIZE;
195+
195196
unsigned int m_bufSize;
196197
char *m_messageBuffer;
197198
char *m_messageBuffer_send;
@@ -202,11 +203,12 @@ namespace swss {
202203
int m_server_socket;
203204
int m_connection_socket;
204205

206+
Select *m_select;
207+
205208
bool is_iccp_up = false;
206209
std::string m_system_mac;
207210
std::set<vlan_mbr> m_vlan_mbrship; //set of vlan,mbr tuples
208211

209-
const int MSG_BATCH_SIZE;
210212
std::map<std::string, std:: string> *p_learn;
211213

212214
unique_ptr<DBConnector> p_state_db;

0 commit comments

Comments
 (0)