mirror of
https://github.com/EasyTier/EasyTier.git
synced 2025-09-26 20:51:17 +08:00
port range should not be converted to single port (#1154)
This commit is contained in:
@@ -647,10 +647,8 @@ impl NetworkOptions {
|
||||
));
|
||||
}
|
||||
|
||||
// Add individual ports in the range
|
||||
for port in start..=end {
|
||||
ports.push(port.to_string());
|
||||
}
|
||||
// acl can handle port range
|
||||
ports.push(port_spec.clone());
|
||||
} else {
|
||||
// Handle single port
|
||||
let port: u16 = port_spec
|
||||
|
Reference in New Issue
Block a user