mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 17:49:58 -06:00
Update libvirt.php
This commit is contained in:
@@ -676,7 +676,7 @@
|
||||
$nicboot
|
||||
</interface>";
|
||||
} elseif (in_array($nic['network'], $br)) {
|
||||
if ($bridge) {
|
||||
if ($bridge || $nic['network']=='virbr0') {
|
||||
$netstr .= "<interface type='bridge'>
|
||||
<mac address='{$nic['mac']}'/>
|
||||
<source bridge='" . htmlspecialchars($nic['network'], ENT_QUOTES | ENT_XML1) . "'/>
|
||||
|
||||
Reference in New Issue
Block a user