mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-28 13:58:08 +00:00
ui: qemu/AgentIPView: also filter out 0:0:0:0:0:0
it seems that some guest-agents format an non-existant mac adress differently (e.g. macos, see [0]) so filter that also out 0: https://forum.proxmox.com/threads/macos-vm-optischer-makel.76263/ Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
76fa1b432a
commit
c84c5c9ad7
@ -104,7 +104,8 @@ Ext.define('PVE.qemu.AgentIPView', {
|
||||
var ips = [];
|
||||
nics.forEach(function(nic) {
|
||||
if (nic['hardware-address'] &&
|
||||
nic['hardware-address'] != '00:00:00:00:00:00') {
|
||||
nic['hardware-address'] != '00:00:00:00:00:00' &&
|
||||
nic['hardware-address'] != '0:0:0:0:0:0') {
|
||||
|
||||
var nic_ips = nic['ip-addresses'] || [];
|
||||
nic_ips.forEach(function(ip) {
|
||||
|
Loading…
Reference in New Issue
Block a user