From b1c63e8cedcd834c8078faae388cd4f4bbe07dde Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 8 Mar 2019 17:45:56 +0100 Subject: Wireguard: Clean up config.Y --- proto/wireguard/config.Y | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'proto/wireguard') diff --git a/proto/wireguard/config.Y b/proto/wireguard/config.Y index dfe621bd..7eee4a65 100644 --- a/proto/wireguard/config.Y +++ b/proto/wireguard/config.Y @@ -16,7 +16,7 @@ CF_DEFINES CF_DECLS -CF_KEYWORDS(WIREGUARD, PEERS) +CF_KEYWORDS(WIREGUARD) CF_GRAMMAR @@ -32,17 +32,8 @@ wireguard_proto: | wireguard_proto proto_channel ';' { this_proto->net_type = $2->net_type; } | wireguard_proto proto_item ';' | wireguard_proto INTERFACE TEXT ';' { WG_CFG->ifname = $3; } - | wireguard_proto PEERS '{' peers '}' ; -peers: - /* empty */ - | peers peer - -peer: ipa pubkey ';' - -pubkey: TEXT - CF_CODE CF_END -- cgit v1.2.3