diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-29 15:01:16 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-29 15:01:16 +0000 |
commit | 911156fb95c43b9aa3c4cec8f9e40317ae7e0807 (patch) | |
tree | 47c0a6d8f829d58bf2c3b677b2858a49e6f4f33f /parse.y | |
parent | c9e878d6a40f4b509bb8928e4736a63f8b7723a2 (diff) |
make `listen on' defaults on port 1965
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |