mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-28 13:49:19 +07:00
optimize: allow to bind nothing
This commit is contained in:
@ -131,8 +131,6 @@ func NewControlPlane(
|
||||
if err = fullLoadBpfObjects(log, bpf, &loadBpfOptions{
|
||||
PinPath: pinPath,
|
||||
CollectionOptions: collectionOpts,
|
||||
BindLan: len(global.LanInterface) > 0,
|
||||
BindWan: len(global.WanInterface) > 0,
|
||||
}); err != nil {
|
||||
if log.Level == logrus.PanicLevel {
|
||||
log.Panicln(err)
|
||||
|
Reference in New Issue
Block a user