Commit f559b959 authored by Mike Hibler's avatar Mike Hibler

Ignore the "plip" device in FreeBSD5.

Just noticed this was causing lots of "malformed interface record" logging.
parent 7116c85c
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2004 University of Utah and the Flux Group.
* Copyright (c) 2000-2005 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -588,6 +588,9 @@ int get_counters(char *buf, void *data) {
if (pkt->ifcnt < MAXNUMIFACES
&& !strstr(buf, "lo")
#ifdef __FreeBSD__
#if __FreeBSD__ >= 5
&& !strstr(buf, "plip")
#endif
&& !strstr(buf, "*")
&& strstr(buf, "<Link"))
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment