Constant value.
authorSebastien Vincent <vincent@clarinet.u-strasbg.fr>
Thu, 22 Oct 2009 13:25:06 +0200
changeset 5792 2d47e9d83096
parent 5791 1c1e7d05d442
child 5793 da33f0c8ade4
Constant value.
src/applications/radvd/radvd.cc
--- a/src/applications/radvd/radvd.cc	Tue Oct 20 16:05:49 2009 +0200
+++ b/src/applications/radvd/radvd.cc	Thu Oct 22 13:25:06 2009 +0200
@@ -87,7 +87,7 @@
 
 /*    m_socket->Bind (Inet6SocketAddress (m_localAddress, 0)); */
 /*    m_socket->Connect (Inet6SocketAddress (Ipv6Address::GetAllNodesMulticast (), 0)); */
-    m_socket->SetAttribute ("Protocol", UintegerValue (58)); /* ICMPv6 */
+    m_socket->SetAttribute ("Protocol", UintegerValue (Ipv6Header::IPV6_ICMPV6));
     m_socket->SetRecvCallback (MakeCallback (&Radvd::HandleRead, this));
   }