=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/servconf.c 1999/09/26 20:53:37 1.1 +++ src/usr.bin/ssh/servconf.c 1999/09/28 07:56:47 1.2 @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$Id: servconf.c,v 1.1 1999/09/26 20:53:37 deraadt Exp $"); +RCSID("$Id: servconf.c,v 1.2 1999/09/28 07:56:47 deraadt Exp $"); #include "ssh.h" #include "servconf.h" @@ -36,6 +36,7 @@ options->fascist_logging = -1; options->print_motd = -1; options->x11_forwarding = -1; + options->x11_display_offset = -1; options->strict_modes = -1; options->keepalives = -1; options->log_facility = (SyslogFacility)-1; @@ -96,6 +97,8 @@ options->print_motd = 1; if (options->x11_forwarding == -1) options->x11_forwarding = 1; + if (options->x11_display_offset == -1) + options->x11_display_offset = 1; if (options->strict_modes == -1) options->strict_modes = 1; if (options->keepalives == -1) @@ -153,7 +156,7 @@ sAFSTokenPassing, #endif sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, - sPrintMotd, sIgnoreRhosts, sX11Forwarding, + sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives } ServerOpCodes; @@ -196,6 +199,7 @@ { "printmotd", sPrintMotd }, { "ignorerhosts", sIgnoreRhosts }, { "x11forwarding", sX11Forwarding }, + { "x11displayoffset", sX11DisplayOffset }, { "strictmodes", sStrictModes }, { "permitemptypasswords", sEmptyPasswd }, { "randomseed", sRandomSeedFile }, @@ -423,6 +427,10 @@ case sX11Forwarding: intptr = &options->x11_forwarding; goto parse_flag; + + case sX11DisplayOffset: + intptr = &options->x11_display_offset; + goto parse_int; case sStrictModes: intptr = &options->strict_modes;