On Wed, 2005-05-04 at 07:39, Parthiban Naliiamudali wrote:
> i REMOVED SNMPTRAPD.C from the /home/parthiban/net-snmp-5.2/apps
> and ADDED THE SNMPTRAPD.C WHICH I GOT FROM CVS.

No - that's not safe.
If you're working with the CVS tree, then you need to work
with the *whole* of the CVS tree.   You can't reliably take
individual files from that and slot them into an earlier
code set.

Robert> You need to add one line of
Robert> code to snmptrapd.c to ignore SIGPIPE.

The code that Robert's referring to is simply

        signal(SIGPIPE, SIG_IGN);

Restore the previous version of snmptrapd.c, and add this
line immediately after the other 'signal' lines.


Dave

PS: Two other requests:
 - Could you please keep the same subject on your messages.
     There's no need to keep a running count of how many
     times you've asked us for assistance.  We're not going
     to be charging you for any of this :-)
 - Could you please NOT SHOUT
     Reading text in all caps is surprisingly tiring.
Thanks



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to