View | Details | Raw Unified | Return to bug 828
Collapse All | Expand All

(-)a/src/node/packet-socket.cc (+6 lines)
 Lines 185-190    Link Here 
185
      m_errno = ERROR_BADF;
185
      m_errno = ERROR_BADF;
186
      return -1;
186
      return -1;
187
    }
187
    }
188
  else if (m_state == STATE_BOUND ||
189
           m_state == STATE_CONNECTED)
190
    {
191
      m_node->UnregisterProtocolHandler (MakeCallback (&PacketSocket::ForwardUp, this));
192
    }
193
188
  m_state = STATE_CLOSED;
194
  m_state = STATE_CLOSED;
189
  m_shutdownSend = true;
195
  m_shutdownSend = true;
190
  m_shutdownRecv = true;
196
  m_shutdownRecv = true;

Return to bug 828