dhcp subnet prefix fix

This commit is contained in:
soypat
2025-08-20 19:25:08 -03:00
parent 7470324b49
commit d254f3ae80
5 changed files with 39 additions and 3 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ import (
"errors"
"fmt"
"math/bits"
"net"
"net/netip"
"os"
"os/exec"
@@ -205,7 +204,7 @@ type Bridge struct {
}
func NewBridge(name string) (*Bridge, error) {
iface, err := net.InterfaceByName(name)
iface, err := interfaceByName(name)
if err != nil {
return nil, err
}