mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 16:49:37 +00:00
dhcp subnet prefix fix
This commit is contained in:
+1
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user