diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-06-21 21:52:10 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-21 21:52:10 +0000 |
commit | f3b34051a987b79da9aa727995a9e1fee7e699b3 (patch) | |
tree | 0fca2fec2f2906aaa5be6f844d714cf3bb104c20 /pkg/tcpip/header | |
parent | 16819419862b0847e0074c564284bab0663ed07f (diff) | |
parent | 298cf30627afad13c245232e8e9f270b257e736f (diff) |
Merge release-20210614.0-7-g298cf3062 (automated)
Diffstat (limited to 'pkg/tcpip/header')
-rw-r--r-- | pkg/tcpip/header/ndp_options.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/tcpip/header/ndp_options.go b/pkg/tcpip/header/ndp_options.go index d6cad3a94..b1f39e6e6 100644 --- a/pkg/tcpip/header/ndp_options.go +++ b/pkg/tcpip/header/ndp_options.go @@ -148,15 +148,10 @@ const ( // NDP option. That is, the length field for NDP options is in units of // 8 octets, as per RFC 4861 section 4.6. lengthByteUnits = 8 -) -var ( // NDPInfiniteLifetime is a value that represents infinity for the // 4-byte lifetime fields found in various NDP options. Its value is // (2^32 - 1)s = 4294967295s. - // - // This is a variable instead of a constant so that tests can change - // this value to a smaller value. It should only be modified by tests. NDPInfiniteLifetime = time.Second * math.MaxUint32 ) |