vboxwrapper: fix bug in forwarding multiple ports

This commit is contained in:
David Anderson 2014-08-12 09:18:35 -07:00
parent dd5c8a804c
commit 7ed32661cb
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ int VBOX_VM::create_vm() {
// 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.host_port, pf.guest_port
);