summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-05-10 00:51:53 +0000
committerhenning <henning@openbsd.org>2003-05-10 00:51:53 +0000
commit5ffc8fb2d9c908f79f34e22fd117351d6e116a06 (patch)
treea97154b3d7cfa91b0eead267d7c5f9bd7b6ae097
parentBNF for load anchor stuff (diff)
downloadwireguard-openbsd-5ffc8fb2d9c908f79f34e22fd117351d6e116a06.tar.xz
wireguard-openbsd-5ffc8fb2d9c908f79f34e22fd117351d6e116a06.zip
catch up with pfctl changes
-rw-r--r--usr.sbin/authpf/authpf.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 056bf327b61..314fe090720 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.55 2003/04/30 12:30:27 cedric Exp $ */
+/* $OpenBSD: authpf.c,v 1.56 2003/05/10 00:51:53 henning Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -864,3 +864,12 @@ pfctl_define_table(char *name, int flags, int addrs, int noaction,
{
fprintf(stderr, "table definitions not yet supported in authpf\n");
}
+
+int
+pfctl_rules(int dev, char *filename, int opts, char *anchorname,
+ char *rulesetname)
+{
+ /* never called, no anchors inside anchors, but we need the stub */
+ fprintf(stderr, "load anchor not supported from authpf\n");
+ return (1);
+} \ No newline at end of file