summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-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"))