summaryrefslogtreecommitdiff
path: root/ntpd/ntp_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/ntp_parser.y')
-rw-r--r--ntpd/ntp_parser.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/ntpd/ntp_parser.y b/ntpd/ntp_parser.y
index 137c79cdc144..0dec2dfd78b6 100644
--- a/ntpd/ntp_parser.y
+++ b/ntpd/ntp_parser.y
@@ -647,19 +647,19 @@ tos_option
tos_option_int_keyword
: T_Bcpollbstep
+ | T_Beacon
| T_Ceiling
| T_Floor
+ | T_Maxclock
+ | T_Minclock
+ | T_Minsane
| T_Orphan
| T_Orphanwait
- | T_Minsane
- | T_Beacon
;
tos_option_dbl_keyword
: T_Mindist
| T_Maxdist
- | T_Minclock
- | T_Maxclock
;
@@ -803,7 +803,7 @@ access_control_command
lex_current()->curpos.nline);
APPEND_G_FIFO(cfgt.restrict_opts, rn);
}
- | T_Restrict ip_address T_Mask ip_address ac_flag_list
+ | T_Restrict address T_Mask ip_address ac_flag_list
{
restrict_node *rn;