mirror of
https://github.com/fosrl/newt.git
synced 2026-10-02 02:39:07 +02:00
Move network to newt - handle --native mode
Former-commit-id: 1b1323b553
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
|
||||
package network
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
)
|
||||
|
||||
func configureWindows(interfaceName string, ip net.IP, ipNet *net.IPNet) error {
|
||||
return fmt.Errorf("configureWindows called on non-Windows platform")
|
||||
}
|
||||
Reference in New Issue
Block a user