From 63f8748ee9705ce85363eb64ff10d07b971a9087 Mon Sep 17 00:00:00 2001 From: rmind Date: Mon, 24 Dec 2012 01:14:40 +0000 Subject: [PATCH] ftp-proxy: disable NPF bits for now; it will be re-done. --- dist/pf/usr.sbin/ftp-proxy/npf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dist/pf/usr.sbin/ftp-proxy/npf.c b/dist/pf/usr.sbin/ftp-proxy/npf.c index dc8dbb0cd60e..3d058ed30a67 100644 --- a/dist/pf/usr.sbin/ftp-proxy/npf.c +++ b/dist/pf/usr.sbin/ftp-proxy/npf.c @@ -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 @@ npf_server_lookup(struct sockaddr *c, struct sockaddr *proxy, static int npf_do_commit(void) { +#if 0 nl_rule_t *group; fp_ent_t *fpe; pri_t pri; @@ -327,6 +328,10 @@ npf_do_commit(void) npf_update_rule(npf_fd, NPF_FP_RULE_TAG, group); npf_rule_destroy(group); return 0; +#else + errno = ENOTSUP; + return -1; +#endif } static int