Skip to content

Commit

Permalink
Swap broadcast and traffic frame ids for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed Nov 18, 2022
1 parent 218c39e commit 3998baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/frame.go
Expand Up @@ -37,8 +37,8 @@ const (
TypeKeepalive FrameType = iota // protocol frame, direct to peers only
TypeTreeAnnouncement // protocol frame, bypasses queues
TypeBootstrap // protocol frame, forwarded using SNEK
TypeWakeupBroadcast // protocol frame, special broadcast forwarding
TypeTraffic // traffic frame, forwarded using tree or SNEK
TypeWakeupBroadcast // protocol frame, special broadcast forwarding
)

func (t FrameType) IsTraffic() bool {
Expand Down

0 comments on commit 3998baf

Please sign in to comment.