summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-03-08 17:45:56 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2019-04-02 00:27:38 +0200
commit676c5b2e8913c9dcc49ef0efa38e8017b2ca0ea1 (patch)
tree3dd0453182ac72dc02ffcc82c13f82b09ec2a6c4 /proto
parentc5b96c77aa0aeb33173b2b27d9e3f00a6aa2eed3 (diff)
Wireguard: Clean up config.Y
Diffstat (limited to 'proto')
-rw-r--r--proto/wireguard/config.Y11
1 files changed, 1 insertions, 10 deletions
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