Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bart Van Assche
On 8/26/19 3:12 PM, Bill Fenner wrote: It turns out a typo in the .travis.yml did not export the environment variables to the build script.  Looks like MODE=minimalist and MODE=read-only are both broken as-is: https://travis-ci.org/fenner/net-snmp/builds/577056671 Hi Bill, If you submit the

Re: commit e56699f5e2ef ("Add the ability to set the source address with "-s" for trapsess")

2019-08-26 Thread Bart Van Assche
On 8/26/19 9:08 AM, Bill Fenner wrote: Here's my proposed documentation: [ ... ] Hi Bill, Does this mean that you have a patch ready for man/snmpd.conf.5.def? If so, how about posting that patch for review? Thanks, Bart. ___ Net-snmp-coders mai

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
It turns out a typo in the .travis.yml did not export the environment variables to the build script. Looks like MODE=minimalist and MODE=read-only are both broken as-is: https://travis-ci.org/fenner/net-snmp/builds/577056671 Bill ___ Net-snmp-coders m

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
On Mon, Aug 26, 2019 at 11:48 AM Bill Fenner wrote: > On Tue, Aug 13, 2019 at 11:17 PM net-snmp Git repository < > nore...@code.net-snmp.p.re.sourceforge.net> wrote: > >> Branch: V5-8-patches >> >> treewide: Terminate netsnmp_feature_*() uses with a semicolon >> >> This patch has been generated b

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
On Mon, Aug 26, 2019 at 4:51 PM Bart Van Assche wrote: > On 8/26/19 12:59 PM, Bill Fenner wrote: > > Just as a personal preference, I like to use "awk" instead of grep|... - > > "awk '/NSF_WW/ {print $1}' $tmpf" gives the same result and doesn't care > > about the presence or absence of the semic

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bart Van Assche
On 8/26/19 12:59 PM, Bill Fenner wrote: > Just as a personal preference, I like to use "awk" instead of grep|... - > "awk '/NSF_WW/ {print $1}' $tmpf" gives the same result and doesn't care > about the presence or absence of the semicolon - but, I don't know about > Windows: if grep and sed are ava

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
On Mon, Aug 26, 2019 at 12:34 PM Bill Fenner wrote: > On Mon, Aug 26, 2019 at 11:48 AM Bill Fenner > wrote: > >> On Tue, Aug 13, 2019 at 11:17 PM net-snmp Git repository < >> nore...@code.net-snmp.p.re.sourceforge.net> wrote: >> >>> Branch: V5-8-patches >>> >>> treewide: Terminate netsnmp_featur

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
On Mon, Aug 26, 2019 at 11:48 AM Bill Fenner wrote: > On Tue, Aug 13, 2019 at 11:17 PM net-snmp Git repository < > nore...@code.net-snmp.p.re.sourceforge.net> wrote: > >> Branch: V5-8-patches >> >> treewide: Terminate netsnmp_feature_*() uses with a semicolon >> >> This patch has been generated b

Re: commit e56699f5e2ef ("Add the ability to set the source address with "-s" for trapsess")

2019-08-26 Thread Bill Fenner
Here's my proposed documentation: trapsink [-profile p] [-name n] [-tag t] [-s src] HOST [COMMUNITY [PORT]] trap2sink [-profile p] [-name n] [-tag t] [-s src] HOST [COMMUNITY [PORT]] informsink [-profile p] [-name n] [-tag t] [-s src] HOST [CO

Re: commit e56699f5e2ef ("Add the ability to set the source address with "-s" for trapsess")

2019-08-26 Thread Bill Fenner
Hi Bart, I'm afraid I deferred to the documentation for df26f8f2d51409827a3ce131c1b9de67d01ee6e5 which added "-s" for trapsink. (i.e., nowhere.) I acknowledge that was lazy, and I will write documentation for both commits in snmpd.conf.5.def. Bill On Fri, Jul 26, 2019 at 9:28 PM Bart Van Ass

Re: MAC Address As Index

2019-08-26 Thread Bill Fenner
On Tue, Aug 20, 2019 at 8:45 AM Krishna Chaitanya wrote: > Hi, > > When using MAC Address as an index ( I am using MacAddress type from > SNMPv2-TC.) the output is incorrect because the length of the string > is prefixed as mac address is defined as OCTET STR there is an extra > byte and the last

Re: [net-snmp:code] treewide: Terminate netsnmp_feature_*() uses with a semicolon

2019-08-26 Thread Bill Fenner via Net-snmp-coders
On Tue, Aug 13, 2019 at 11:17 PM net-snmp Git repository < nore...@code.net-snmp.p.re.sourceforge.net> wrote: > Branch: V5-8-patches > > treewide: Terminate netsnmp_feature_*() uses with a semicolon > > This patch has been generated by the following shell command: > > git grep -l netsnmp_feature_