chore: remove selective loading bpf objects

This commit is contained in:
mzz2017
2023-02-27 09:56:00 +08:00
parent 7542884451
commit 8b59492fe5
6 changed files with 5 additions and 121 deletions

View File

@ -116,7 +116,7 @@ func NewControlPlane(
},
Programs: ProgramOptions,
}
if err = selectivelyLoadBpfObjects(log, &bpf, &loadBpfOptions{
if err = fullLoadBpfObjects(log, &bpf, &loadBpfOptions{
PinPath: pinPath,
CollectionOptions: collectionOpts,
BindLan: len(global.LanInterface) > 0,