1
This commit is contained in:
@@ -21,3 +21,11 @@ func (d *tunDevice) Write(packet []byte) (int, error) {
|
||||
func (d *tunDevice) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func gatewayPlatformSnapshot(interfaceName, routeCIDR string) map[string]any {
|
||||
return map[string]any{
|
||||
"os": "unsupported",
|
||||
"interface": interfaceName,
|
||||
"route_cidr": routeCIDR,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user