summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2015-07-03 17:46:53 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2015-07-03 17:46:53 +0000
commite0a0e92260900b23ac45ff0e4a40847ea974ab1e (patch)
tree235d19de30c3476a21077d51a268ed11071513a9 /sbin
parentdfdb42f844e83edf99d12942f60623c5c1448f57 (diff)
Terminate 'config' keyword array with a NULL element.
Reported by trondd at kagu-tsuchi ! com, thanks!
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/parse.y5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/iked/parse.y b/sbin/iked/parse.y
index 33ea8c863cf..861295ca1d1 100644
--- a/sbin/iked/parse.y
+++ b/sbin/iked/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.47 2015/06/03 02:24:36 millert Exp $ */
+/* $OpenBSD: parse.y,v 1.48 2015/07/03 17:46:52 mikeb Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -277,7 +277,8 @@ const struct ipsec_xf cpxfs[] = {
{ "protected-subnet", IKEV2_CFG_INTERNAL_IP4_SUBNET, AF_INET },
{ "protected-subnet", IKEV2_CFG_INTERNAL_IP6_SUBNET, AF_INET6 },
{ "access-server", IKEV2_CFG_INTERNAL_IP4_SERVER, AF_INET },
- { "access-server", IKEV2_CFG_INTERNAL_IP6_SERVER, AF_INET6 }
+ { "access-server", IKEV2_CFG_INTERNAL_IP6_SERVER, AF_INET6 },
+ { NULL }
};
const struct iked_lifetime deflifetime = {