1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/nagios-plugins/files/patch-check_snmp.c
Jun Kuriyama 4bd953d9e9 Add nagios-plugins after repocopy from netsaint-plugins.
Submitted by:	Blaz Zupan <blaz@si.FreeBSD.org>
Repocopied by:	joe
2002-07-22 01:03:42 +00:00

14 lines
452 B
C

--- plugins/check_snmp.c.orig Thu Feb 28 07:42:59 2002
+++ plugins/check_snmp.c Sun Jul 14 17:21:03 2002
@@ -145,8 +145,8 @@
/* create the command line to execute */
command_line = ssprintf
(command_line,
- "%s -m ALL -v 1 %s %s %s",
- PATH_TO_SNMPGET, server_address, community, oid);
+ "%s -m ALL -v 1 -c %s %s %s",
+ PATH_TO_SNMPGET, community, server_address, oid);
/* run the command */
child_process = spopen (command_line);