ftp-proxy: disable NPF bits for now; it will be re-done.

This commit is contained in:
rmind 2012-12-24 01:14:40 +00:00
parent ddc483c50c
commit 63f8748ee9
1 changed files with 6 additions and 1 deletions

View File

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