summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r--sbin/dhclient/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index bd71cccbd1b..f53e62f1e39 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.38 2014/05/05 18:02:49 krw Exp $ */
+/* $OpenBSD: parse.c,v 1.39 2015/05/18 17:51:21 krw Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -351,6 +351,7 @@ parse_date(FILE *cfile)
switch (token) {
case TOK_NAME:
case TOK_NUMBER:
+ case TOK_NUMBER_OR_NAME:
case '/':
case ':':
token = next_token(&val, cfile);