added config option for BEET mode

This commit is contained in:
Martin Willi
2007-01-03 13:16:21 +00:00
parent f73d4c9eb0
commit af87afed47
4 changed files with 18 additions and 2 deletions
+2
View File
@@ -388,6 +388,8 @@ load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg)
conn->policy &= ~(POLICY_TUNNEL | POLICY_SHUNT_MASK);
if (streq(kw->value, "tunnel"))
conn->policy |= POLICY_TUNNEL;
else if (streq(kw->value, "beet"))
conn->policy |= POLICY_BEET;
else if (streq(kw->value, "passthrough") || streq(kw->value, "pass"))
conn->policy |= POLICY_SHUNT_PASS;
else if (streq(kw->value, "drop"))