         callback(error, records)
 
   getDefaultGateway = (callback) ->
-    getAdapterConfigs (error, records) ->
+    getAdapterConfig (error, records) ->
       return callback(error) if error?
       data = {}
       for record in records

      } , (error, records) ->
        callback(error, records)

  getAdapterConfigs = (callback) ->
    wmic 'Win32_NetworkAdapterConfiguration',
      ['Index', 'IPEnabled', 'DefaultIPGateway'], (error, records) ->
        callback(error, records)

net = require('net')
exec = require('child_process').exec
parseCSV = require('csv-parse')
async = require('async')

collector = (callback) ->
