diff --git a/src/ipvs.c b/src/ipvs.c
index 85e65d27e57823f2fa3776237d125cf5db82e4d3..7bd8c6985b1019e7085ca4bcd900e1e36fa9ac46 100644 (file)
--- a/src/ipvs.c
+++ b/src/ipvs.c
#endif /* HAVE_NETINET_IN_H */
/* this can probably only be found in the kernel sources */
-#if HAVE_NET_IP_VS_H
+#if HAVE_LINUX_IP_VS_H
+# include <linux/ip_vs.h>
+#elif HAVE_NET_IP_VS_H
# include <net/ip_vs.h>
#elif HAVE_IP_VS_H
# include <ip_vs.h>
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
vl.interval = interval_g;
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
vl.values = values;
vl.values_len = 2;
- vl.time = time (NULL);
vl.interval = interval_g;
sstrncpy (vl.host, hostname_g, sizeof (vl.host));