mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-14 17:59:57 +07:00
fix: support to bind dae to wg lan (and other tun) (#221)
This commit is contained in:
@ -192,6 +192,7 @@ func NewControlPlane(
|
||||
// Add clsact qdisc
|
||||
for _, ifname := range common.Deduplicate(append(append([]string{}, global.LanInterface...), global.WanInterface...)) {
|
||||
_ = core.addQdisc(ifname)
|
||||
_ = core.mapLinkType(ifname)
|
||||
}
|
||||
// Bind to LAN
|
||||
if len(global.LanInterface) > 0 {
|
||||
|
Reference in New Issue
Block a user