summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-04-13 06:49:47 +0000
committerru <ru@FreeBSD.org>2001-04-13 06:49:47 +0000
commit029dfd12d657bb1fd1d03bb5c73a70b4acd59df0 (patch)
tree13f5f1e68681cfead3100b8c61ccb1135e281862 /sbin/ipfw/ipfw.c
parentd6216a6396cb28149e9fd3da298b3c91f85d7963 (diff)
downloadFreeBSD-src-029dfd12d657bb1fd1d03bb5c73a70b4acd59df0.zip
FreeBSD-src-029dfd12d657bb1fd1d03bb5c73a70b4acd59df0.tar.gz
Update comment to match ipfw/ipfw.c,v 1.95.
Diffstat (limited to 'sbin/ipfw/ipfw.c')
-rw-r--r--sbin/ipfw/ipfw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c
index e76b710..19c5812 100644
--- a/sbin/ipfw/ipfw.c
+++ b/sbin/ipfw/ipfw.c
@@ -2378,9 +2378,8 @@ main(ac, av)
setbuf(stdout,0);
/*
- * this is a nasty check on the last argument!!!
- * If there happens to be a filename matching a keyword in the current
- * directory, things will fail miserably.
+ * Only interpret the last command line argument as a file to
+ * be preprocessed if it is specified as an absolute pathname.
*/
if (ac > 1 && av[ac - 1][0] == '/' && access(av[ac - 1], R_OK) == 0) {
OpenPOWER on IntegriCloud