diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-04-28 00:17:29 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-04-28 00:17:29 +0000 |
commit | b0590a3eda21f8839605daf3434614e731c6489e (patch) | |
tree | b7b0353697905335d6a734193f49f148a40fd66a /usr.sbin/ftp-proxy/filter.h | |
parent | b54ee1bf6959f4361319d0b5d4033d0425acb2ab (diff) |
switch ftp-proxy over to divert-to instead of rdr-to. this avoids
an expensive state lookup (via natlook ioctl) and shrinks the code.
tested by me and sthen, ok reyk sthen
Diffstat (limited to 'usr.sbin/ftp-proxy/filter.h')
-rw-r--r-- | usr.sbin/ftp-proxy/filter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ftp-proxy/filter.h b/usr.sbin/ftp-proxy/filter.h index 0b40a0b4cbf..410d3eb871f 100644 --- a/usr.sbin/ftp-proxy/filter.h +++ b/usr.sbin/ftp-proxy/filter.h @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.h,v 1.6 2011/03/25 14:51:31 claudio Exp $ */ +/* $OpenBSD: filter.h,v 1.7 2011/04/28 00:17:28 mikeb Exp $ */ /* * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -26,5 +26,3 @@ int do_commit(void); int do_rollback(void); void init_filter(char *, char *, int); int prepare_commit(u_int32_t); -int server_lookup(struct sockaddr *, struct sockaddr *, struct sockaddr *, - int *); |