Or not, I think I found it.
This line: /* Skip AUTOFS entries */ if (entry->type == NETSNMP_FS_TYPE_AUTOFS) continue;
Looks really innocuous until you run it through gcc -E: if (entry->type == 7 | 0x1000 | 0x2000) continue;
At which point you realize the | is going to make this if TRUE all the time.
I need to find the define and add ()'s around it.
Or not, I think I found it.
This line: FS_TYPE_ AUTOFS)
continue;
/* Skip AUTOFS entries */
if (entry->type == NETSNMP_
Looks really innocuous until you run it through gcc -E:
continue;
if (entry->type == 7 | 0x1000 | 0x2000)
At which point you realize the | is going to make this if TRUE all the time.
I need to find the define and add ()'s around it.