Re: snmptrapd.c

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 3 February 2011 16:36, th exterit <[email protected]> wrote:
> Trying to strip snmptrapd.c down to the essentials.  I just want to be able
> to receive traps and print them to the terminal for now.
>
> Here is what I have so far: http://pastebin.com/7W6Gc7ne
>
> I am trying to compile this to test.  I don't expect it to work yet.

Rather than strip everything out, and then trying to check why
it doesn't work.    Why don't you start with the full 'snmptrapd'
code, and delete one block at a time - checking that it still
compiles at each stage?

   That way you can work your way down to the minimal framework,
and if you delete something that's essential, then you'll spot it
straight away.

Dave

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.