Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/pf/usr.sbin/ftp-proxy ftp-proxy: disable NPF bits for n...
details: https://anonhg.NetBSD.org/src/rev/2d8b4a931f0d
branches: trunk
changeset: 783468:2d8b4a931f0d
user: rmind <rmind%NetBSD.org@localhost>
date: Mon Dec 24 01:14:40 2012 +0000
description:
ftp-proxy: disable NPF bits for now; it will be re-done.
diffstat:
dist/pf/usr.sbin/ftp-proxy/npf.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 345962218646 -r 2d8b4a931f0d dist/pf/usr.sbin/ftp-proxy/npf.c
--- a/dist/pf/usr.sbin/ftp-proxy/npf.c Mon Dec 24 00:35:56 2012 +0000
+++ b/dist/pf/usr.sbin/ftp-proxy/npf.c Mon Dec 24 01:14:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf.c,v 1.1 2011/02/02 02:20:26 rmind Exp $ */
+/* $NetBSD: npf.c,v 1.2 2012/12/24 01:14:40 rmind Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -311,6 +311,7 @@
static int
npf_do_commit(void)
{
+#if 0
nl_rule_t *group;
fp_ent_t *fpe;
pri_t pri;
@@ -327,6 +328,10 @@
npf_update_rule(npf_fd, NPF_FP_RULE_TAG, group);
npf_rule_destroy(group);
return 0;
+#else
+ errno = ENOTSUP;
+ return -1;
+#endif
}
static int
Home |
Main Index |
Thread Index |
Old Index