optimize: show outbound name when notify kernel connectivity change

This commit is contained in:
mzz2017
2023-02-17 02:11:08 +08:00
parent 739682dabc
commit 791752399d
4 changed files with 12 additions and 10 deletions

View File

@ -21,9 +21,10 @@ import (
)
type ControlPlaneCore struct {
log *logrus.Logger
deferFuncs []func() error
bpf *bpfObjects
log *logrus.Logger
deferFuncs []func() error
bpf *bpfObjects
outboundId2Name map[uint8]string
kernelVersion *internal.Version
}