diff options
author | Omar Polo <op@omarpolo.com> | 2022-01-01 18:50:10 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-01-01 18:50:10 +0000 |
commit | 5128c0b0e3b51737783c4c68c9e34a76ec8c8b0e (patch) | |
tree | 00ad1dc18d6ad0e51242f698fdf75999fe25f6c1 /parse.y | |
parent | 7bdcc91ec70ddde092ac5d7b4f75d54915e7b221 (diff) |
add `verifyname' option for `proxy' rule
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -125,6 +125,7 @@ typedef struct { %token RELAY_TO REQUIRE RETURN ROOT %token SERVER SPAWN STRIP %token TCP TOEXT TYPE USER +%token VERIFYNAME %token ERROR @@ -327,6 +328,9 @@ proxy_opt : CERT string { yyerror("proxy port is %s: %s", errstr, p->port); } + | VERIFYNAME bool { + host->proxy.noverifyname = !$2; + } ; locations : /* empty */ @@ -468,6 +472,7 @@ static struct keyword { {"to-ext", TOEXT}, {"type", TYPE}, {"user", USER}, + {"verifyname", VERIFYNAME}, }; void |