Skip to content

Commit

Permalink
peering: fix spelling in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion committed Sep 13, 2023
1 parent cf95a7a commit 7d09a0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/braccept/cases/child_to_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func ChildToPeer(artifactsDir string, mac hash.Hash) runner.Case {
// The second segment has just one hop.
sp.HopFields[2].Mac = path.MAC(macGenY(), sp.InfoFields[1], sp.HopFields[2], nil)

// The message is ready for injest at A, that is at HF[1]. Going against consruction
// The message is ready for ingest at A, that is at HF[1]. Going against consruction
// direction, the SegID acc value must match that of HF[0], which is the same
// as that of HF[1], which is also SEG[0]'s SegID. So it's already correct.

Expand Down
2 changes: 1 addition & 1 deletion tools/braccept/cases/peer_to_child.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func PeerToChild(artifactsDir string, mac hash.Hash) runner.Case {
sp.HopFields[1].Mac = path.MAC(mac, sp.InfoFields[1], sp.HopFields[1], nil)
sp.HopFields[2].Mac = path.MAC(macGenY(), sp.InfoFields[1], sp.HopFields[2], nil)

// The message if ready for injest at A, that is at HF[1], the start of the
// The message if ready for ingest at A, that is at HF[1], the start of the
// second segment, in construction direction. So SegID is already correct.

// The end-to-end trip is from 2,172.16.2.1 to 5,172.16.5.1
Expand Down

0 comments on commit 7d09a0d

Please sign in to comment.