Add support for the internal corpnet

This commit is contained in:
eraseyourknees
2022-09-16 00:34:44 +02:00
parent 1cc48ae9d8
commit f5f4795cd9
2 changed files with 6 additions and 1 deletions

View File

@ -184,6 +184,10 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
'WuClientVer='.$build,
);
if($ring == 'MSIT' && uupApiConfigIsTrue('allow_corpnet')) {
$attrib[] = 'DUInternal=1';
}
return htmlentities('E:'.implode('&', $attrib));
}