From d2bf3c09479e5956dfcc0914c99082e6ea6f94dc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 29 Mar 2012 04:25:30 +0200 Subject: Add support for Tinc-like peer directory configurations --- src/config.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.l') 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; -- cgit v1.2.3