Merge remote-tracking branch 'origin/pr/488'
authorMarc Fournier <marc.fournier@camptocamp.com>
Sun, 26 Oct 2014 18:45:02 +0000 (19:45 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 26 Oct 2014 18:45:02 +0000 (19:45 +0100)
1  2 
src/collectd.conf.in
src/collectd.conf.pod
src/tcpconns.c

Simple merge
Simple merge
diff --cc src/tcpconns.c
@@@ -277,15 -274,12 +278,17 @@@ static const char *config_keys[] 
  static int config_keys_num = STATIC_ARRAY_SIZE (config_keys);
  
  static int port_collect_listening = 0;
+ static int port_collect_total = 0;
  static port_entry_t *port_list_head = NULL;
+ static uint32_t count_total[TCP_STATE_MAX + 1];
  
  #if KERNEL_LINUX
 +#if HAVE_STRUCT_LINUX_INET_DIAG_REQ
 +/* This depends on linux inet_diag_req because if this structure is missing,
 + * sequence_number is useless and we get a compilation warning.
 + */
  static uint32_t sequence_number = 0;
 +#endif
  
  enum
  {