summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-29 04:25:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-29 04:25:30 +0200
commitd2bf3c09479e5956dfcc0914c99082e6ea6f94dc (patch)
treee9c1324b9b71beaa75c38282c8c4e00ccd30ac4e /src/config.l
parenteb0c48b789bbf41745287adb6b2949f84e7e9171 (diff)
downloadfastd-d2bf3c09479e5956dfcc0914c99082e6ea6f94dc.tar
fastd-d2bf3c09479e5956dfcc0914c99082e6ea6f94dc.zip
Add support for Tinc-like peer directory configurations
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index f232aee..6ed07bb 100644
--- a/src/config.l
+++ b/src/config.l
@@ -66,6 +66,8 @@ tap { UPDATE_LOCATION; return TOK_TAP; }
tun { UPDATE_LOCATION; return TOK_TUN; }
on { UPDATE_LOCATION; return TOK_ON; }
up { UPDATE_LOCATION; return TOK_UP; }
+peers { UPDATE_LOCATION; return TOK_PEERS; }
+from { UPDATE_LOCATION; return TOK_FROM; }
[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} {
UPDATE_LOCATION;