aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-24 20:40:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-24 20:40:04 +0000
commit7c5e870d303690a6e6ec6bf520f9f77450e56246 (patch)
tree134cf25a8e4abd55bd6cc594fc04939ead9b09c1 /net-mgmt
parente74e8c7b14fff504ba88d6cb997591a87654399d (diff)
downloadports-7c5e870d303690a6e6ec6bf520f9f77450e56246.tar.gz
ports-7c5e870d303690a6e6ec6bf520f9f77450e56246.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/netsaint-plugins/Makefile2
-rw-r--r--net-mgmt/netsaint-plugins/files/patch-check_mrtg.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile
index 4046b6b9731c..66625a0c3bc0 100644
--- a/net-mgmt/netsaint-plugins/Makefile
+++ b/net-mgmt/netsaint-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= netsaint-plugins
PORTVERSION= 1.2.9.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netsaintplug
diff --git a/net-mgmt/netsaint-plugins/files/patch-check_mrtg.c b/net-mgmt/netsaint-plugins/files/patch-check_mrtg.c
new file mode 100644
index 000000000000..7443d87e0836
--- /dev/null
+++ b/net-mgmt/netsaint-plugins/files/patch-check_mrtg.c
@@ -0,0 +1,15 @@
+--- plugins/check_mrtg.c.orig Mon May 24 22:29:35 2004
++++ plugins/check_mrtg.c Mon May 24 22:29:52 2004
+@@ -338,10 +338,10 @@
+ usage("Invalid variable number\n");
+ break;
+ case 'w': /* critical time threshold */
+- value_warning_threshold=strtoul(argv[5],NULL,10);
++ value_warning_threshold=strtoul(optarg,NULL,10);
+ break;
+ case 'c': /* warning time threshold */
+- value_critical_threshold=strtoul(argv[6],NULL,10);
++ value_critical_threshold=strtoul(optarg,NULL,10);
+ break;
+ case 'l': /* label */
+ value_label=optarg;