ipv6: update example for the use of dual stack listener
Updates golang/go#13612.
Change-Id: Ic139b6f862a2a24d549bd1f502299a7eac2f0e38
Reviewed-on: https://go-review.googlesource.com/17799
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/ipv6/doc.go b/ipv6/doc.go
index 3c15c21..dd13aa2 100644
--- a/ipv6/doc.go
+++ b/ipv6/doc.go
@@ -130,7 +130,7 @@
// // error handling
// }
// dst := &net.UDPAddr{IP: group, Port: 1024}
-// wcm := ipv6.ControlMessage{TrafficClass: DiffServCS7, HopLimit: 1}
+// wcm := ipv6.ControlMessage{TrafficClass: 0xe0, HopLimit: 1}
// for _, ifi := range []*net.Interface{en0, en1} {
// wcm.IfIndex = ifi.Index
// if _, err := p.WriteTo(data[:n], &wcm, dst); err != nil {