You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm expect to see the IPv6 header in ICMPv6 response (like in v4 version)
I need this feature because i want to get the HopLimit (TTL) from a response and keep it for later use.
What did you see instead?
Only ICMPv6 message present, without IPv6 header
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
x/net/icmp: cannot obtain IPv6 header from ICMPv6 socket
net: cannot obtain IPv6 base header from IPv6 socket because it's designed to behave like so inside the kernel
Nov 23, 2016
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.6.3 linux/amd64
What operating system and processor architecture are you using (
go env
)?Fedora 24
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/userx/work/golang"
GORACE=""
GOROOT="/usr/lib/golang"
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
What did you do?
Link for test program - https://play.golang.org/p/b5f1aRBBUn
Example output:
What did you expect to see?
I'm expect to see the IPv6 header in ICMPv6 response (like in v4 version)
I need this feature because i want to get the HopLimit (TTL) from a response and keep it for later use.
What did you see instead?
Only ICMPv6 message present, without IPv6 header
The text was updated successfully, but these errors were encountered: