mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
修复一处bug
This commit is contained in:
parent
c9b504113b
commit
30004f1f90
@ -134,7 +134,7 @@ class makeAddr{
|
||||
}
|
||||
|
||||
foreach($rv as $rvv){
|
||||
if(!$rk_found || (strpos($rvv, '.' . $rk) < 0)){
|
||||
if(!$rk_found || (strpos($rvv, '.' . $rk) === false)){
|
||||
$write_len += fwrite($fp, 'address=/' . $rvv . '/127.0.0.1' . "\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user