summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 1b92b07db..93fe115a2 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -98,6 +98,11 @@ class RFC1413 : public InspSocket
u->Shrink("ident_data");
}
+ virtual void OnError(InspSocketError e)
+ {
+ u->Shrink("ident_data");
+ }
+
virtual bool OnConnected()
{
uslen = sizeof(sock_us);