radvd: also set hop limit to 255 for multicast packets
This commit is contained in:
parent
589e2ae43d
commit
43e1b2eaae
@ -45,7 +45,8 @@ func (s *Server) Serve(ifname string, conn net.PacketConn) error {
|
||||
|
||||
defer conn.Close()
|
||||
s.pc = ipv6.NewPacketConn(conn)
|
||||
s.pc.SetHopLimit(255) // as per RFC 4861, section 4.1
|
||||
s.pc.SetHopLimit(255) // as per RFC 4861, section 4.1
|
||||
s.pc.SetMulticastHopLimit(255) // as per RFC 4861, section 4.1
|
||||
|
||||
var filter ipv6.ICMPFilter
|
||||
filter.SetAll(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user