diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:34:08 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:34:08 +0000 |
commit | eb4416d4df1aa88945ba6589b2ff66981feef9b3 (patch) | |
tree | bc480a59dd84037503a0af09a2ea731ef334b041 /sbin/isakmpd/genconstants.sh | |
parent | dfb2717d72205a17c5cd0fd2fc618b4e581593b8 (diff) |
Add submaps to constant maps, and add a mechanism to the constant
description language to link maps.
Diffstat (limited to 'sbin/isakmpd/genconstants.sh')
-rw-r--r-- | sbin/isakmpd/genconstants.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/genconstants.sh b/sbin/isakmpd/genconstants.sh index acb16776f91..aca78ca463c 100644 --- a/sbin/isakmpd/genconstants.sh +++ b/sbin/isakmpd/genconstants.sh @@ -1,5 +1,6 @@ -# $OpenBSD: genconstants.sh,v 1.2 1998/11/17 11:10:11 niklas Exp $ -# $EOM: genconstants.sh,v 1.2 1998/07/24 22:25:42 niklas Exp $ +# $OpenBSD: genconstants.sh,v 1.3 1998/11/20 07:34:07 niklas Exp $ +# $EOM: genconstants.sh,v 1.3 1998/11/20 07:17:02 niklas Exp $ +# $EOM: genconstants.sh,v 1.3 1998/11/20 07:17:02 niklas Exp $ # # Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -106,7 +107,7 @@ BEGIN { } /^[ ]/ && $1 { - printf (" { %s_%s, \"%s\" }, \n", prefix, $1, $1) + printf (" { %s_%s, \"%s\", %s }, \n", prefix, $1, $1, $3 ? $3 : 0) next } |