Skip to content

Commit f07514c

Browse files
committed
tunnel: report endpoint stats
1 parent 253e0cc commit f07514c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tunnel/tunnel.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ func (t *gtunnel) Stat() (*x.NetStat, error) {
306306
st.TUNSt.Sid = t.sid.Load() // session id (tunnel fd)
307307
st.TUNSt.Mtu = int32(t.ep.MTU())
308308
st.TUNSt.PcapMode = t.pcapio.mode()
309+
st.TUNSt.EpStats = t.ep.Stat()
309310

310311
if t := t.hdl.TCP(); t != nil {
311312
st.RDNSIn.OpenConnsTCP = t.OpenConns()

0 commit comments

Comments
 (0)