summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-05 20:38:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-05 20:38:30 +0200
commita6a5b5e00e98aa27644a1afa4a461819221b758d (patch)
treecf1fc8ba118e3114172f488f3b3fddde73399240 /src/config.l
parent9720307ab4d78bec3fc7bc7e44cf8ba217584a17 (diff)
downloadfastd-a6a5b5e00e98aa27644a1afa4a461819221b758d.tar
fastd-a6a5b5e00e98aa27644a1afa4a461819221b758d.zip
Add on-establish and on-disestablish commandsv0.2
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 c352a1d..c2f771a 100644
--- a/src/config.l
+++ b/src/config.l
@@ -71,6 +71,8 @@ tun { UPDATE_LOCATION; return TOK_TUN; }
on { UPDATE_LOCATION; return TOK_ON; }
up { UPDATE_LOCATION; return TOK_UP; }
down { UPDATE_LOCATION; return TOK_DOWN; }
+establish { UPDATE_LOCATION; return TOK_ESTABLISH; }
+disestablish { UPDATE_LOCATION; return TOK_DISESTABLISH; }
peers { UPDATE_LOCATION; return TOK_PEERS; }
from { UPDATE_LOCATION; return TOK_FROM; }
log { UPDATE_LOCATION; return TOK_LOG; }