summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/network/arp
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-01-22 10:27:54 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-03-17 19:32:49 +0100
commitf10dc5ab203ecf9e56f6e69be284855ef0793fad (patch)
treebfa7e32934dfcd0f34657e81ec801b122a662698 /pkg/tcpip/network/arp
parentcb87cbb7e46568c0bab786205369d11a7fc5b268 (diff)
Update the TTL field in forwarded packets
Closes: #1085
Diffstat (limited to 'pkg/tcpip/network/arp')
-rw-r--r--pkg/tcpip/network/arp/arp.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/network/arp/arp.go b/pkg/tcpip/network/arp/arp.go
index e9fcc89a8..9ffacd544 100644
--- a/pkg/tcpip/network/arp/arp.go
+++ b/pkg/tcpip/network/arp/arp.go
@@ -124,6 +124,10 @@ func (e *endpoint) HandlePacket(r *stack.Route, pkt tcpip.PacketBuffer) {
}
}
+func (*endpoint) UpdateTTL(tcpip.PacketBuffer, uint8) *tcpip.Error {
+ return tcpip.ErrNotSupported
+}
+
// protocol implements stack.NetworkProtocol and stack.LinkAddressResolver.
type protocol struct {
}