71 { |
71 { |
72 // Say goodbye to remote |
72 // Say goodbye to remote |
73 Bytestream packet; |
73 Bytestream packet; |
74 packet.write_byte (CLRC_DISCONNECT); |
74 packet.write_byte (CLRC_DISCONNECT); |
75 this->send (packet); |
75 this->send (packet); |
76 |
76 m_interface->print ("Disconnected from %s\n", m_address.to_string (IPAddress::WITH_PORT).chars()); |
77 m_interface->print ("Disconnected from %s\n", |
|
78 m_address.to_string (IPAddress::WITH_PORT).chars()); |
|
79 m_interface->update_statusbar(); |
77 m_interface->update_statusbar(); |
80 } |
78 } |
81 |
79 |
82 m_state = RCON_DISCONNECTED; |
80 m_state = RCON_DISCONNECTED; |
83 } |
81 } |