mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-15 02:09:57 +07:00
fix: should fix traffic loop sent by dae in WAN mode
This commit is contained in:
@ -122,6 +122,9 @@ func NewControlPlane(
|
||||
BindLan: len(global.LanInterface) > 0,
|
||||
BindWan: len(global.WanInterface) > 0,
|
||||
}); err != nil {
|
||||
if log.Level == logrus.PanicLevel {
|
||||
log.Panicln(err)
|
||||
}
|
||||
return nil, fmt.Errorf("load eBPF objects: %w", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user