fix windows route delete's missing mask
This commit is contained in:
parent
85190447be
commit
cb0e4cfbd5
@ -789,6 +789,7 @@ pub fn del_route(net: &Ipv4Net, gw: &Ipv4Addr) -> Result<()> {
|
||||
let res = Command::new("route")
|
||||
.arg("delete")
|
||||
.arg(network)
|
||||
.arg("MASK")
|
||||
.arg(mask)
|
||||
.arg(gw.to_string())
|
||||
.output()?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user