feat: support custom ComponentID for Windows TAP device configuration

This commit is contained in:
eWloYW8
2025-09-21 15:14:27 +08:00
committed by ginuerzh
parent 1c1f092a14
commit eae322c7ba
3 changed files with 22 additions and 16 deletions
+6 -5
View File
@@ -8,9 +8,10 @@ type Route struct {
Gateway net.IP
}
type Config struct {
Name string
Net string
MTU int
Gateway string
Routes []Route
Name string
Net string
MTU int
Gateway string
ComponentID string
Routes []Route
}