Skip to content

Commit

Permalink
Fix license not detected correctly by Github
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Sep 17, 2024
1 parent 120f18e commit d41430b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ notice, this list of conditions and the following disclaimer.
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Andreas Krennmair, Google, nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
* Neither the name of the copyright holder nor the names of
its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree.
//
// SPDX-Licence-Identifier: BSD-3-Clause

package gopacket_gtp

Expand Down Expand Up @@ -118,7 +118,7 @@ func (g *GTPv1U) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Serialize
if g.ExtensionHeaderFlag || g.SequenceNumberFlag || g.NPDUFlag {
extHeadersLen += 4
for _, eh := range g.GTPExtensionHeaders {
extHeadersLen += len(eh.Content) + 2 // 2 bytes for Type + Lenght
extHeadersLen += len(eh.Content) + 2 // 2 bytes for Type + Length

}
}
Expand Down

0 comments on commit d41430b

Please sign in to comment.