diff --git a/web/app/Sensor/Ifconfig.php b/web/app/Sensor/Ifconfig.php
index 6ac84934e6581ddbb33067e594144c14fb826d30..05835e51fac72f32e4954ff2133abdf0bf54ba9f 100644
--- a/web/app/Sensor/Ifconfig.php
+++ b/web/app/Sensor/Ifconfig.php
@@ -56,7 +56,7 @@ class Ifconfig extends AbstractSensor {
             }
         }
 
-        return $dataset;
+        array_values($dataset);
 
     }
 
diff --git a/web/public/js/sensor.ifconfig.js b/web/public/js/sensor.ifconfig.js
index 43d567785904547bec3ebb6b4a8e3a072b697a06..d97320859222b6b296600f34458fe514297cca0a 100644
--- a/web/public/js/sensor.ifconfig.js
+++ b/web/public/js/sensor.ifconfig.js
@@ -44,6 +44,8 @@ window.monitorIfconfigChart = function(element) {
             + window.monitorServerID + "/" + window.monitorServerToken
             + "/ifconfig";
     $.getJSON(meminfo_url, function( data ) {
+        console.log(data);
+
         data.foreach(function(dataset){
             var new_dataset = {
                 label: dataset.name,