mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-18 03:53:56 +02:00
17 lines
346 B
Swift
17 lines
346 B
Swift
import Foundation
|
|
import Virtualization
|
|
|
|
class NetworkShared: Network {
|
|
func attachment() -> VZNetworkDeviceAttachment {
|
|
VZNATNetworkDeviceAttachment()
|
|
}
|
|
|
|
func run(_ sema: DispatchSemaphore) throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
|
|
func stop() async throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
}
|