wireguard update: add explanation about parsing

This commit is contained in:
bergware
2023-10-16 17:53:51 +02:00
parent 4581506883
commit 1d031aa262
@@ -229,6 +229,7 @@ function parseInput($vtun,&$input,&$x) {
// assign values to parameters, be aware that certain parameters are assigned by parseInput itself
// this is based on the sequence of processing
global $conf,$user,$var,$default4,$default6,$vpn,$tunip;
$tunnel = $protocol = null; // satisfy code checkers
$section = 0; $addPeer = false;
foreach ($input as $key => $value) {
if ($key[0]=='#') continue;