summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-02-14 14:38:33 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-02-14 14:38:33 +0000
commit19e6b37bf7d805a4e2455212edbac3818e7b71ab (patch)
tree748a3fc409272fc81b11b13dc2f7a252ba7da128 /sbin/pfctl
parent9307a433b5fd1d7f92f83ef04cd49f949f405e2e (diff)
Allow route-to loopback interfaces again, since Ryan fixed the loops that
might have occured before.
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y10
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 03c2594ba1f..0b416aec0db 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.317 2003/02/14 13:23:17 cedric Exp $ */
+/* $OpenBSD: parse.y,v 1.318 2003/02/14 14:38:32 dhartmei Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -2551,10 +2551,6 @@ route_host : STRING {
yyerror("routeto: unknown interface %s",
$$->ifname);
YYERROR;
- } else if (n->ifa_flags & IFF_LOOPBACK) {
- yyerror("routeto: loopback interface %s not "
- "supported", $$->ifname);
- YYERROR;
}
set_ipmask($$, 128);
$$->next = NULL;
@@ -2570,10 +2566,6 @@ route_host : STRING {
yyerror("routeto: unknown interface %s",
$$->ifname);
YYERROR;
- } else if (n->ifa_flags & IFF_LOOPBACK) {
- yyerror("routeto: loopback interface %s not "
- "supported", $$->ifname);
- YYERROR;
}
if (disallow_table($3, "invalid use of table <%s> in "
"a route expression"))