пофиксил скрипт ovpn

This commit is contained in:
kirillius 2024-12-24 20:46:06 +03:00
parent 6aaa4f5312
commit 733fc983ce
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ try {
$parts = explode("/", $route); $parts = explode("/", $route);
$mask = long2ip(-1 << (32 - (int)$parts[1])); $mask = long2ip(-1 << (32 - (int)$parts[1]));
$dst = $parts[0]; $dst = $parts[0];
$data[] = "ifconfig-push {$dst} {$mask}"; $data[] = "push \"route {$dst} {$mask}\"";
} }
} }
} }