{%
    local virtualflag = 0
    echo(string.format('%-13s | %-10s | %s\n', "Net Card Name", "Port Name", "Mac Address"))
    for _, addr_table in ipairs(AdapterListExpand) do
        local device_name = addr_table.DeviceLocator
        for _, port_table in ipairs(addr_table.PortListExpand) do
            local net_functype = port_table.NetDevFuncType
            if net_functype ~= 1 then
                goto continue
            end
            if virtualflag == 1 then
                goto continue
            end
            local macaddr = port_table.PermanentMACAddress
            local actual_mac = port_table.MACAddress
            if macaddr == "00:00:00:00:00:00" or macaddr == "" then
                if actual_mac ~= "" then
                    macaddr = actual_mac
                else
                    macaddr = "00:00:00:00:00:00"
                end
            end
            local silk_num = port_table.PortID + 1
            echo(string.format('%-13s | %-4s%-6d | %s\n', device_name, "Port", silk_num, macaddr))
            ::continue::
        end
    end
    echo('\b')
%}