Module Name:    src
Committed By:   rmind
Date:           Mon Dec 24 01:14:41 UTC 2012

Modified Files:
        src/dist/pf/usr.sbin/ftp-proxy: npf.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/dist/pf/usr.sbin/ftp-proxy/npf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/dist/pf/usr.sbin/ftp-proxy/npf.c
diff -u src/dist/pf/usr.sbin/ftp-proxy/npf.c:1.1 src/dist/pf/usr.sbin/ftp-proxy/npf.c:1.2
--- src/dist/pf/usr.sbin/ftp-proxy/npf.c:1.1	Wed Feb  2 02:20:26 2011
+++ src/dist/pf/usr.sbin/ftp-proxy/npf.c	Mon Dec 24 01:14:40 2012
@@ -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, st
 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

Reply via email to