| 51 | } |
| 52 | |
| 53 | void TunnelHopConfig::SetNext (TunnelHopConfig * n) |
| 54 | { |
| 55 | next = n; |
| 56 | if (next) |
| 57 | { |
| 58 | next->prev = this; |
| 59 | next->isGateway = false; |
| 60 | isEndpoint = false; |
| 61 | nextIdent = next->ident->GetIdentHash (); |
| 62 | nextTunnelID = next->tunnelID; |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | void TunnelHopConfig::SetPrev (TunnelHopConfig * p) |
| 67 | { |