Skip to content

Commit

Permalink
feat(p2p): change ip protocol to IPComp(0x6C)
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 24, 2024
1 parent eb49d35 commit 574d1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gold/p2p/ip/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func NewEndpoint(endpoint string, configs ...any) (p2p.EndPoint, error) {
if err != nil {
return nil, err
}
ptcl := uint(0x04) // IPIP
ptcl := uint(0x6C) // IPComp https://datatracker.ietf.org/doc/html/rfc3173
if len(configs) > 0 {
ptcl = configs[0].(uint)
}
Expand Down

0 comments on commit 574d1cc

Please sign in to comment.