The attached patch fixes a problem building snmp with all options turned on. Building under Release 2.2 on a SuSE 9.0 system failed with unmatched endif errors.
On the subject of snmp, of which I'm a total newbie, would it make sense to add an option to the rc.snmp file to turn on snmptrapd in addition to snmpd, and perhaps create a skeleton snmptrap.conf file? Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Windows is a computer virus with a user interface!!
diff -ur ../net-snmp-5.1.2.orig/agent/mibgroup/mibII/udpTable.c ./agent/mibgroup/mibII/udpTable.c --- ../net-snmp-5.1.2.orig/agent/mibgroup/mibII/udpTable.c 2004-11-15 16:18:49.000000000 -0800 +++ ./agent/mibgroup/mibII/udpTable.c 2004-11-15 16:37:57.000000000 -0800 @@ -738,6 +738,7 @@ #endif /* UDB_SYMBOL */ #endif /* PCB_TABLE */ #endif /* (defined(CAN_USE_SYSCTL) && defined(UDPCTL_PCBLIST)) */ +#endif /* ((defined(CAN_USE_SYSCTL) && defined(UDPCTL_PCBLIST)) */ #endif /* WIN32 */ #endif /* linux */ #endif /* solaris2 */