diff options
author | 2007-07-03 11:32:27 +0000 | |
---|---|---|
committer | 2007-07-03 11:32:27 +0000 | |
commit | c7516b7f2960344495d882bf85cfe4d2a0b59d30 (patch) | |
tree | 2dc30f88f9adf1020831e9d6129bf083af06075e | |
parent | fix a memory leak that was introduced in r1.20 on 2007-06-24T05Z; ok dlg (diff) | |
download | wireguard-openbsd-c7516b7f2960344495d882bf85cfe4d2a0b59d30.tar.xz wireguard-openbsd-c7516b7f2960344495d882bf85cfe4d2a0b59d30.zip |
allow proto esp/ah in flow specification (especially useful for bypass flows)
ok hshoexer, mpf
-rw-r--r-- | sbin/ipsecctl/parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y index 48344759d39..1100d8dfb7f 100644 --- a/sbin/ipsecctl/parse.y +++ b/sbin/ipsecctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.123 2007/05/10 06:10:04 hshoexer Exp $ */ +/* $OpenBSD: parse.y,v 1.124 2007/07/03 11:32:27 markus Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -372,6 +372,8 @@ proto : /* empty */ { $$ = 0; } } } + | PROTO ESP { $$ = IPPROTO_ESP; } + | PROTO AH { $$ = IPPROTO_AH; } ; tmode : /* empty */ { $$ = IPSEC_TUNNEL; } |