diff options
Diffstat (limited to 'src/dev/net/tcp_iface.cc')
-rw-r--r-- | src/dev/net/tcp_iface.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/net/tcp_iface.cc b/src/dev/net/tcp_iface.cc index 38fc7aef2..c9ca57778 100644 --- a/src/dev/net/tcp_iface.cc +++ b/src/dev/net/tcp_iface.cc @@ -267,9 +267,8 @@ TCPIface::sendTCP(int sock, const void *buf, unsigned length) ret = ::send(sock, buf, length, MSG_NOSIGNAL); if (ret < 0) { if (errno == ECONNRESET || errno == EPIPE) { - inform("send(): %s", strerror(errno)); - exit_message("info", 0, "Message server closed connection, " - "simulation is exiting"); + exitSimLoop("Message server closed connection, simulation " + "is exiting"); } else { panic("send() failed: %s", strerror(errno)); } |