summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
commitd468ffff4564ac0d6fb1b13d886ee72785d329ef (patch)
tree52b54fc5f1e020b928c01228d1be413dd3aa8e74 /src/config.l
parent78de22fd21b348fc00dde6fa0bfec73abb8fd651 (diff)
downloadfastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.tar
fastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.zip
Add pre-up and post-down handlers
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 c9f25d8..dee1d39 100644
--- a/src/config.l
+++ b/src/config.l
@@ -90,8 +90,10 @@ any { TOKEN(TOK_ANY); }
tap { TOKEN(TOK_TAP); }
tun { TOKEN(TOK_TUN); }
on { TOKEN(TOK_ON); }
+pre-up { TOKEN(TOK_PRE_UP); }
up { TOKEN(TOK_UP); }
down { TOKEN(TOK_DOWN); }
+post-down { TOKEN(TOK_POST_DOWN); }
establish { TOKEN(TOK_ESTABLISH); }
disestablish { TOKEN(TOK_DISESTABLISH); }
verify { TOKEN(TOK_VERIFY); }