summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/lexparse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config/lexparse.c b/src/config/lexparse.c
index f1b3600..fbf1431 100644
--- a/src/config/lexparse.c
+++ b/src/config/lexparse.c
@@ -40,6 +40,7 @@ enum directivevalue_e
T_VERBOSITY,
T_MAXTCP,
T_LISTEN,
+ T_ACCEPT,
T_SERVER,
T_FORWARD,
} ;
@@ -121,6 +122,10 @@ static inline void parse_listen (char const *s, size_t const *word, size_t n, md
}
}
+static inline void parse_accept (char const *s, size_t const *word, size_t n, mdt const *md)
+{
+}
+
static inline void parse_server (char const *s, size_t const *word, size_t n, mdt const *md, int forward)
{
char const *x = forward ? "forward" : "server" ;
@@ -250,5 +255,4 @@ void conf_lexparse (buffer *b, char const *ifile)
}
genalloc_free(size_t, &words) ;
stralloc_free(&sa) ;
- default_accept() ;
}