Skip to content

Commit 8b202d8

Browse files
committed
ipn/wg: log stat start, stop
1 parent d5f1770 commit 8b202d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

intra/ipn/wgproxy.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,9 @@ func (tun *wgtun) Close() error {
11231123
// TODO: use wgtun as a receiver for Stats()
11241124
// Never returns nil.
11251125
func (w *wgproxy) Stat() (out *x.RouterStats) {
1126+
log.VV("proxy: wg: %s stats: start", w.tag())
1127+
defer log.VV("proxy: wg: %s stats: end", w.tag())
1128+
11261129
out = new(x.RouterStats)
11271130

11281131
out.Addrs = w.ifaddrs() // may be empty

0 commit comments

Comments
 (0)