function parseOne (data) {
  if (!data || !data[0]) {
    return
  }

  if (process.platform.includes('linux')) {
    // ignore unresolved hosts (can happen when parseOne returns only one unresolved host)
    if (data[0].indexOf('no entry') >= 0) {
      return
    }

    // remove first row (containing "headlines")
    var rows = data[0].split('\n').slice(1)[0]
    return parseLinux(rows, servers, true)
  } else if (process.platform.includes('win32')) {
    return // currently not supported
  }

  return parseRow(data[0], servers)
}
function parseOne (data) {
  if (!data || !data[0]) {
    return
  }

  if (process.platform.includes('linux')) {
    
    if (data[0].indexOf('no entry') >= 0) {
      return
    }

    
    var rows = data[0].split('\n').slice(1)[0]
    return parseLinux(rows, servers, true)
  } else if (process.platform.includes('win32')) {
    return 
  }

  return parseRow(data[0], servers)
}
function parseOne ( data ) { if ( ! data || ! data [ 0 ] ) { return } if ( process . platform . includes ( 'linux' ) ) { // ignore unresolved hosts (can happen when parseOne returns only one unresolved host) if ( data [ 0 ] . indexOf ( 'no entry' ) >= 0 ) { return } // remove first row (containing "headlines") var rows = data [ 0 ] . split ( '\n' ) . slice ( 1 ) [ 0 ] return parseLinux ( rows , servers , true ) } else if ( process . platform . includes ( 'win32' ) ) { return // currently not supported } return parseRow ( data [ 0 ] , servers ) }
Parses a single row of arp data.
Parses a single row of arp data .