Skip to content

Commit

Permalink
Merge pull request #1241 from libp2p/holepunch-protobuf-required-type
Browse files Browse the repository at this point in the history
make the Type field required in the HolePunch protobuf
  • Loading branch information
marten-seemann authored Nov 21, 2021
2 parents 57aaf9d + 1646952 commit cac4cf3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 18 additions & 17 deletions p2p/protocol/holepunch/pb/holepunch.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion p2p/protocol/holepunch/pb/holepunch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ message HolePunch {
SYNC = 300;
}

optional Type type=1;
required Type type=1;
repeated bytes ObsAddrs = 2;
}

0 comments on commit cac4cf3

Please sign in to comment.