summaryrefslogtreecommitdiff
path: root/net/ser/files/patch-cfg.y
diff options
context:
space:
mode:
Diffstat (limited to 'net/ser/files/patch-cfg.y')
-rw-r--r--net/ser/files/patch-cfg.y21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/ser/files/patch-cfg.y b/net/ser/files/patch-cfg.y
new file mode 100644
index 000000000000..87a917abe8ae
--- /dev/null
+++ b/net/ser/files/patch-cfg.y
@@ -0,0 +1,21 @@
+
+$FreeBSD$
+
+--- cfg.y.orig
++++ cfg.y
+@@ -210,6 +210,7 @@
+ %token UNIX_SOCK_CHILDREN
+ %token UNIX_TX_TIMEOUT
+ %token SERVER_SIGNATURE
++%token SERVER_NAME
+ %token REPLY_TO_VIA
+ %token LOADMODULE
+ %token MODPARAM
+@@ -610,6 +611,7 @@
+ | TLS_SEND_TIMEOUT EQUAL error { yyerror("number expected"); }
+ | SERVER_SIGNATURE EQUAL NUMBER { server_signature=$3; }
+ | SERVER_SIGNATURE EQUAL error { yyerror("boolean value expected"); }
++ | SERVER_NAME EQUAL STRING { server_name=$3; }
+ | REPLY_TO_VIA EQUAL NUMBER { reply_to_via=$3; }
+ | REPLY_TO_VIA EQUAL error { yyerror("boolean value expected"); }
+ | LISTEN EQUAL id_lst {