Bind UDP tunnels to the correct source address. Fixes #96.

This commit is contained in:
Jeremy
2015-03-16 12:45:21 -06:00
parent bcb1ce02ab
commit cc9b575b77
2 changed files with 6 additions and 12 deletions

View File

@ -15,9 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
from ...web.route import Route
from ...schemas.qemu import QEMU_CREATE_SCHEMA
from ...schemas.qemu import QEMU_UPDATE_SCHEMA
@ -55,8 +52,8 @@ class QEMUHandler:
request.json.get("vm_id"),
qemu_path=request.json.get("qemu_path"),
console=request.json.get("console"),
monitor=request.json.get("monitor"),
)
monitor=request.json.get("monitor"))
# Clear already used keys
map(request.json.__delitem__, ["name", "project_id", "vm_id",
"qemu_path", "console", "monitor"])