1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Fix ntop @filename

PR:		54482
Submitted by:	 Melvyn Sopacua <melvyn@webteckies.org>
This commit is contained in:
Tilman Keskinoz 2003-07-22 15:47:34 +00:00
parent 9e958a135d
commit 59dc8c7b7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85390

View File

@ -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) {