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

(-)a/src/applications/radvd/radvd.cc (+7 lines)
 Lines 208-213    Link Here 
208
  raHdr.CalculatePseudoHeaderChecksum (src, dst, p->GetSize () + raHdr.GetSerializedSize (), 58 /* ICMPv6 */);
208
  raHdr.CalculatePseudoHeaderChecksum (src, dst, p->GetSize () + raHdr.GetSerializedSize (), 58 /* ICMPv6 */);
209
  p->AddHeader (raHdr);
209
  p->AddHeader (raHdr);
210
210
211
  /* Router advertisements MUST always have a ttl of 255
212
   * The ttl value should be set as a socket option, but this is not yet implemented
213
   */
214
  SocketIpTtlTag ttl;
215
  ttl.SetTtl(255);
216
  p->AddPacketTag(ttl);
217
211
  /* send RA */
218
  /* send RA */
212
  NS_LOG_LOGIC ("Send RA");
219
  NS_LOG_LOGIC ("Send RA");
213
  m_socket->Send (p, 0);
220
  m_socket->Send (p, 0);

Return to bug 771