Skip to content

Commit 16c7ebe

Browse files
authored
Merge pull request #1346 from dropbigfish/master
chore: fix function name in comment
2 parents 245c6e9 + 5239a23 commit 16c7ebe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/internal/congestion/bbr/packet_number_indexed_queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (p *packetNumberIndexedQueue[T]) EntrySlotsUsed() int {
152152
return p.entries.Len()
153153
}
154154

155-
// LastPacket returns packet number of the first entry in the queue.
155+
// FirstPacket returns packet number of the first entry in the queue.
156156
func (p *packetNumberIndexedQueue[T]) FirstPacket() (packetNumber congestion.PacketNumber) {
157157
return p.firstPacket
158158
}

extras/trafficlogger/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (s *trafficStatsServerImpl) LogTraffic(id string, tx, rx uint64) (ok bool)
7171
return true
7272
}
7373

74-
// LogOnlineStateChanged updates the online state to the online map.
74+
// LogOnlineState updates the online state to the online map.
7575
func (s *trafficStatsServerImpl) LogOnlineState(id string, online bool) {
7676
s.Mutex.Lock()
7777
defer s.Mutex.Unlock()

0 commit comments

Comments
 (0)