diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-07-09 14:03:03 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-09 14:04:40 -0700 |
commit | bf0fa0953763035df6af6fdf7eab3b8c163d90e0 (patch) | |
tree | eab1bc9ff67227e6fe871b3a9c1d713b5bf90d50 /pkg/tcpip/seqnum | |
parent | 0dedac637ff9f6f7a0556d42d90787584a4051da (diff) |
Switch netstack licenses to Apache 2.0.
Fixes #27
PiperOrigin-RevId: 203825288
Change-Id: Ie9f3a2b2c1e296b026b024f75c07da1a7e118633
Diffstat (limited to 'pkg/tcpip/seqnum')
-rw-r--r-- | pkg/tcpip/seqnum/BUILD | 2 | ||||
-rw-r--r-- | pkg/tcpip/seqnum/seqnum.go | 16 |
2 files changed, 14 insertions, 4 deletions
diff --git a/pkg/tcpip/seqnum/BUILD b/pkg/tcpip/seqnum/BUILD index 0c717ec8d..6d28dbc3f 100644 --- a/pkg/tcpip/seqnum/BUILD +++ b/pkg/tcpip/seqnum/BUILD @@ -1,4 +1,4 @@ -package(licenses = ["notice"]) # BSD +package(licenses = ["notice"]) # Apache 2.0 load("@io_bazel_rules_go//go:def.bzl", "go_library") load("//tools/go_stateify:defs.bzl", "go_stateify") diff --git a/pkg/tcpip/seqnum/seqnum.go b/pkg/tcpip/seqnum/seqnum.go index f689be984..e507d02f7 100644 --- a/pkg/tcpip/seqnum/seqnum.go +++ b/pkg/tcpip/seqnum/seqnum.go @@ -1,6 +1,16 @@ -// Copyright 2016 The Netstack Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// Copyright 2018 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package seqnum defines the types and methods for TCP sequence numbers such // that they fit in 32-bit words and work properly when overflows occur. |