equal
deleted
inserted
replaced
148 |
148 |
149 void |
149 void |
150 Ipv4L3Protocol::DoDispose (void) |
150 Ipv4L3Protocol::DoDispose (void) |
151 { |
151 { |
152 NS_LOG_FUNCTION (this); |
152 NS_LOG_FUNCTION (this); |
153 for (L4List_t::iterator i = m_protocols.begin(); i != m_protocols.end(); ++i) |
153 |
|
154 for (SocketList::iterator i = m_sockets.begin (); i != m_sockets.end (); ++i) |
|
155 { |
|
156 *i = 0; |
|
157 } |
|
158 |
|
159 for (L4List_t::iterator i = m_protocols.begin(); i != m_protocols.end(); ++i) |
154 { |
160 { |
155 *i = 0; |
161 *i = 0; |
156 } |
162 } |
157 m_protocols.clear (); |
163 m_protocols.clear (); |
158 |
164 |