Skip to content

Commit

Permalink
* Initialize netlink family ID after TCP socket creation
Browse files Browse the repository at this point in the history
Closes-bug:#1507071

Change-Id: Iac6dd17171053453ebf51136c72c2aa20a2053a7
  • Loading branch information
naveen-n committed Nov 25, 2015
1 parent 6fd6cb8 commit 4f23431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ksync/ksync_sock.cc
Expand Up @@ -675,8 +675,8 @@ KSyncSockTcp::KSyncSockTcp(EventManager *evm,

void KSyncSockTcp::Init(EventManager *evm, ip::address ip_addr,
int port) {
SetNetlinkFamilyId(10);
KSyncSock::SetSockTableEntry(new KSyncSockTcp(evm, ip_addr, port));
SetNetlinkFamilyId(10);
KSyncSock::Init(false);
}

Expand Down

0 comments on commit 4f23431

Please sign in to comment.