Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Magnus Fromreide
On Fri, 2011-01-07 at 14:13 -0800, Wes Hardaker wrote: > On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: > BVA> Are the original transport data structure and its copy modified > BVA> independently of each other - if these are ever modified ? If not, a > BVA> possible alternative is to use reference c

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Wes Hardaker
On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: BVA> Are the original transport data structure and its copy modified BVA> independently of each other - if these are ever modified ? If not, a BVA> possible alternative is to use reference counting instead of copying. RS> I believe Wes added the copy

Re: building net-snmp for cygwin

2011-01-07 Thread Wes Hardaker
Lee> Is there a way to get ENV_SEPARATOR set to ":" when building net-snmp Lee> using cygwin? Yep. The net-snmp-config.h file contains the separator characters and you can edit that file. It's not doable via configure itself though, you do at least have to edit that file after configure has bee

building net-snmp for cygwin

2011-01-07 Thread Lee
Is there a way to get ENV_SEPARATOR set to ":" when building net-snmp using cygwin? Using the DOS version of the net-snmp utilities in the cygwin environment can be a pain - cygwin expects the *nix style line ending and the DOS version of, for example, snmpwalk ends each line with a cr,lf Is ther

Re: is there a way to skip reading app specific config files?

2011-01-07 Thread Lee
On 1/7/11, Wes Hardaker wrote: >> On Thu, 6 Jan 2011 17:44:08 -0800, Lee said: > > L> fails. I need the app to read my $HOME/.snmp/snmp.conf file and I'm > L> not seeing an option that says read >this< config file. > > No, there isn't that option. There is actually no reason it couldn't be

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Robert Story
On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: BVA> Are the original transport data structure and its copy modified BVA> independently of each other - if these are ever modified ? If not, a BVA> possible alternative is to use reference counting instead of copying. I believe Wes added the copy funct

Re: My Subagent is not working after some long time

2011-01-07 Thread Magnus Fromreide
On Fri, 2011-01-07 at 08:27 -0800, Wes Hardaker wrote: > > On Fri, 07 Jan 2011 08:23:00 -0800, Wes Hardaker > > said: > > P> Can you please explain the process/steps to check weather master agent is > P> listening the agentx port. > > WH> Please write to the net-snmp-us...@lists.sourcef

Re: table_iterator2?

2011-01-07 Thread Wes Hardaker
> On Thu, 6 Jan 2011 18:44:04 +0100, Bart Van Assche > said: BVA> Having to set a flag before every call of netsnmp_register_table_iterator() BVA> is tedious and error-prone. Having to remember which function call to use with a simple 2 suffix or not suffix seems error prone and subject

Re: SVN trunk multi-platform build errors

2011-01-07 Thread Dave Shield
On 7 January 2011 13:32, Niels Baggesen wrote: > On Thu, Jan 06, 2011 at 04:50:28PM +, Dave Shield wrote: >> My inclination would be to apply the patches individually, rather >> than all in one go.   That might be a bit more work, but should >> make it easier to identify related changes (and w

Re: My Subagent is not working after some long time

2011-01-07 Thread Wes Hardaker
> On Fri, 07 Jan 2011 08:23:00 -0800, Wes Hardaker > said: P> Can you please explain the process/steps to check weather master agent is P> listening the agentx port. WH> Please write to the net-snmp-us...@lists.sourceforge.net mailing list WH> instead of writing to me personally with qu

Re: is there a way to skip reading app specific config files?

2011-01-07 Thread Wes Hardaker
> On Thu, 6 Jan 2011 17:44:08 -0800, Lee said: L> fails. I need the app to read my $HOME/.snmp/snmp.conf file and I'm L> not seeing an option that says read >this< config file. No, there isn't that option. There is actually no reason it couldn't be added (because we support it in the agent

Re: My Subagent is not working after some long time

2011-01-07 Thread Wes Hardaker
> On Fri, 7 Jan 2011 12:15:49 +0530, "Prakash" > said: P> Can you please explain the process/steps to check weather master agent is P> listening the agentx port. Please write to the net-snmp-us...@lists.sourceforge.net mailing list instead of writing to me personally with questions rega

Re: SVN trunk multi-platform build errors

2011-01-07 Thread Niels Baggesen
On Thu, Jan 06, 2011 at 04:50:28PM +, Dave Shield wrote: > My inclination would be to apply the patches individually, rather > than all in one go. That might be a bit more work, but should > make it easier to identify related changes (and what problems they > are trying to address). That wou