summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-07-22 15:47:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-07-22 15:47:34 +0000
commit59dc8c7b7a3e66be5a014bbd68341c33533c355e (patch)
treebc42bd13fe470e5a3ff649e87ba0060459fb0c81 /net/ntop
parentfix MASTER_SITES (diff)
Fix ntop @filename
PR: 54482 Submitted by: Melvyn Sopacua <melvyn@webteckies.org>
Notes
Notes: svn path=/head/; revision=85390
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/files/patch-main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/ntop/files/patch-main.c b/net/ntop/files/patch-main.c
new file mode 100644
index 000000000000..295297ec8d5e
--- /dev/null
+++ b/net/ntop/files/patch-main.c
@@ -0,0 +1,13 @@
+--- main.c.orig Mon Jul 14 19:34:51 2003
++++ main.c Mon Jul 14 19:43:31 2003
+@@ -757,7 +757,7 @@
+
+ if((argc == 2) && (argv[1][0] != '-')) {
+ /* Options specified on a configuration file */
+- FILE *fd = fopen(argv[optind], "r");
++ FILE *fd = fopen(argv[optind] + 1, "r");
+
+ if(fd != NULL) {
+
+
+