When no "rfb" configuration specified bind to the default VNC

port instead of binding to a random one.
This commit is contained in:
Gleb Smirnoff 2017-04-28 05:13:27 +00:00
parent 60bfcbd605
commit 3909a600a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317543

View File

@ -365,6 +365,8 @@ pci_fbuf_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts)
sc->fsc_pi = pi;
sc->rfb_port = 5900;
error = pci_fbuf_parse_opts(sc, opts);
if (error != 0)
goto done;