aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 9e636ae..a06416d 100644
--- a/parse.y
+++ b/parse.y
@@ -328,6 +328,9 @@ servopt : ALIAS string {
| PARAM string '=' string {
add_param($2, $4);
}
+ | LISTEN ON listen_addr {
+ listen_on($3, "1965");
+ }
| LISTEN ON listen_addr PORT STRING {
listen_on($3, $5);
free($3);