Skip to content

Commit d0c617d

Browse files
committed
bugfix: TcpLwip: fixed protocol value on Indication at send up Established
1 parent 95353a3 commit d0c617d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inet/transportlayer/tcp_lwip/TcpLwipConnection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void TcpLwipConnection::sendEstablishedMsg()
129129
tcpConnectInfo->setAutoRead(autoRead);
130130

131131
indication->setControlInfo(tcpConnectInfo);
132-
indication->addTag<TransportProtocolInd>()->setProtocol(&Protocol::udp);
132+
indication->addTag<TransportProtocolInd>()->setProtocol(&Protocol::tcp);
133133
indication->addTag<SocketInd>()->setSocketId(connIdM);
134134

135135
tcpLwipM->send(indication, "appOut");

0 commit comments

Comments
 (0)