summaryrefslogtreecommitdiff
path: root/src/scanner.l
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:42:46 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-13 21:42:46 +0000
commit75dd0b22c4da89e78c1589b0d4a266e97da32589 (patch)
treeea0d722d3c78ae3feb4326a6b72a6893ddc567e9 /src/scanner.l
parentfa1480a3e11f4c99adef84d4f571bc36208001e4 (diff)
downloadtinyproxy-75dd0b22c4da89e78c1589b0d4a266e97da32589.tar.gz
tinyproxy-75dd0b22c4da89e78c1589b0d4a266e97da32589.zip
Allow the URL for the statistic page to be controlled from the
configuration file, rather than being hard-coded in the program. [John M Wright]
Diffstat (limited to '')
-rw-r--r--src/scanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 25c3355..f685b23 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1,4 +1,4 @@
-/* $Id: scanner.l,v 1.18 2003-03-13 21:28:36 rjkaes Exp $
+/* $Id: scanner.l,v 1.19 2003-03-13 21:42:45 rjkaes Exp $
*
* This builds the scanner for the tinyproxy configuration file. This
* file needs to stay in sync with grammar.y. If someone knows lex and yacc
@@ -55,6 +55,7 @@ static struct keyword keywords[] = {
{ "connectport", KW_CONNECTPORT },
{ "bind", KW_BIND },
{ "viaheader", KW_HTTP_VIA },
+ { "stathost", KW_STATHOST },
{ "errorfile", KW_ERRORPAGE },
{ "defaulterrorfile", KW_DEFAULT_ERRORPAGE },
{ "statfile", KW_STATPAGE },