From edae332ab5b66d0caf5b68926b23554aa5493040 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Tue, 27 Mar 2018 14:08:24 +0200 Subject: Restrict secondary network to localhost --- scripts/qemucommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index e209a07..4918314 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py @@ -108,7 +108,7 @@ class QemuCommand(object): if self.secondary_network: cmdline += [ '-net', 'nic,vlan=1,macaddr='+random_mac(), - '-net', 'socket,vlan=1,mcast=230.0.0.1:1234', + '-net', 'socket,vlan=1,mcast=230.0.0.1:1234,localaddr=127.0.0.1', ] if self.gui: cmdline += ["-serial", "stdio"] -- cgit v1.2.3-54-g00ecf