summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2021-03-13 12:11:11 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2021-08-30 20:02:24 +0200
commit93621be4ffa504c63a91570f66ba4732837b6e63 (patch)
tree4688feb49f3cfc67e302d4a295a576bf2e2a3c04 /include
parent84db1b79e635f385c985be0e8885f55ac71f2e2a (diff)
Don't add authorizations for TCP connections by default.
Add a new resource 'listenTcp' (false by default) to explicitely add authorizations for existing IP addresses on startup (and pass -listen tcp to the X server). ok kettenis@
Diffstat (limited to 'include')
-rw-r--r--include/dm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm.h b/include/dm.h
index a07af64..a7ba732 100644
--- a/include/dm.h
+++ b/include/dm.h
@@ -123,6 +123,7 @@ struct display {
unsigned short *authNameLens; /* authorization protocol name lens */
char *clientAuthFile;/* client specified auth file */
int authComplain; /* complain when no auth for XDMCP */
+ int listenTcp; /* assume server is listening on TCP */
/* information potentially derived from resources */
int authNameNum; /* number of protocol names */