summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/confbase.Y10
1 files changed, 1 insertions, 9 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 16a493e9..5f487c1d 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -72,7 +72,7 @@ CF_DECLS
%token <t> TEXT
%type <iface> ipa_scope
-%type <i> expr bool pxlen ipa_port
+%type <i> expr bool pxlen
%type <i32> expr_us
%type <time> datetime
%type <a> ipa
@@ -161,14 +161,6 @@ ipa_scope:
| '%' SYM { $$ = if_get_by_name($2->name); }
;
-ipa_port:
- /* empty */ { $$ = 0; }
- | PORT expr {
- if (($2 < 1) || ($2 > 65535)) cf_error("Invalid port number");
- $$ = $2;
- }
- ;
-
prefix:
ipa pxlen {
if (!ip_is_prefix($1, $2)) cf_error("Invalid prefix");