Skip to content

Commit 1f604e6

Browse files
committed
fix typo
1 parent 724836b commit 1f604e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

emhttp/plugins/dynamix/include/update.wireguard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ function parseInput($vtun, &$input, &$x) {
543543
$import["TYPE:$n"] = $vpn;
544544
$allowedIPs = _var($import, "AllowedIPs:$n");
545545
ipfilter($allowedIPs);
546-
if (_var($import,"TYPE:$n") == 0) $var['subnets1'] = "AllowedIPs=".$allowedIPs);
546+
if (_var($import,"TYPE:$n") == 0) $var['subnets1'] = "AllowedIPs=$allowedIPs";
547547
}
548548
foreach ($import as $key => $val) $sort[] = explode(':',$key)[1];
549549
array_multisort($sort, $import);

0 commit comments

Comments
 (0)