mirror of https://github.com/BOINC/boinc.git
vboxwrapper: fix bug in forwarding multiple ports
This commit is contained in:
parent
dd5c8a804c
commit
7ed32661cb
|
@ -864,7 +864,7 @@ int VBOX_VM::create_vm() {
|
||||||
|
|
||||||
// Add new firewall rule
|
// Add new firewall rule
|
||||||
//
|
//
|
||||||
sprintf(buf, "vboxwrapper,tcp,%s,%d,,%d",
|
sprintf(buf, ",tcp,%s,%d,,%d",
|
||||||
pf.is_remote?"":"127.0.0.1",
|
pf.is_remote?"":"127.0.0.1",
|
||||||
pf.host_port, pf.guest_port
|
pf.host_port, pf.guest_port
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue