summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-02-03 13:57:47 +0000
committerhenning <henning@openbsd.org>2003-02-03 13:57:47 +0000
commit7a20ad3ce9d76730bbd6f51e346b382f35045fed (patch)
treecf39b97ac33fa3b8514d357f734aaed6d1812dcd
parentfix a problem with queue definitions when load options (like -N etc) are (diff)
downloadwireguard-openbsd-7a20ad3ce9d76730bbd6f51e346b382f35045fed.tar.xz
wireguard-openbsd-7a20ad3ce9d76730bbd6f51e346b382f35045fed.zip
zap dead code
-rw-r--r--sbin/pfctl/pfctl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index a0936f600be..6d67afd7998 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.143 2003/02/03 13:40:45 henning Exp $ */
+/* $OpenBSD: pfctl.c,v 1.144 2003/02/03 13:57:47 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1004,14 +1004,6 @@ pfctl_rules(int dev, char *filename, int opts)
err(1, "DIOCCOMMITRULES");
}
pfctl_commit_table();
-#if 0
- if ((opts & PF_OPT_QUIET) == 0) {
- fprintf(stderr, "%u nat entries loaded\n", n);
- fprintf(stderr, "%u rdr entries loaded\n", r);
- fprintf(stderr, "%u binat entries loaded\n", b);
- fprintf(stderr, "%u rules loaded\n", n);
- }
-#endif
}
if (fin != stdin)
fclose(fin);