diff options
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -173,6 +173,12 @@ serv_option : AKA alias_list | SERVICE STRING { current.server.service = $2; } + | SERVICE NUMBER { + int port = $2; + char buf[10]; + snprintf(buf, sizeof buf, "%d", port); + current.server.service = xstrdup(buf); + } | PORT NUMBER { int port = $2; char buf[10]; |