Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.cpp')
-rw-r--r--src/Networking/LwipEthernet/LwipEthernetInterface.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp
index 9d129ecd..c203cf28 100644
--- a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp
+++ b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp
@@ -657,17 +657,6 @@ void LwipEthernetInterface::TerminateDataPort()
}
}
-// Stop listening on a port
-void LwipEthernetInterface::DataPortClosing()
-{
- // This is currently called only for the FTP data port
- if (listeningPcbs[NumProtocols] != nullptr)
- {
- tcp_close(listeningPcbs[NumProtocols]);
- listeningPcbs[NumProtocols] = nullptr;
- }
-}
-
void LwipEthernetInterface::InitSockets()
{
for (size_t i = 0; i < NumProtocols; ++i)