sim,python: Flip logic on loopback listeners
authorJason Lowe-Power <jason@lowepower.com>
Thu, 15 Oct 2020 23:46:23 +0000 (16:46 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Fri, 16 Oct 2020 15:09:52 +0000 (15:09 +0000)
commit370cfb078c8619f35bf0b965a4a54c4b99d60910
tree23f10a81098fc4fdc4d3be17dd00cc1501d4a02c
parent9be18aa66ddb8db4da043279819d45bc72b7b086
sim,python: Flip logic on loopback listeners

People are bitten by allowing external connections to gem5 runs too often
(it happend to me again today). This change flips the logic so the
default is to only allow localhost connections.

Change-Id: If9233f5ca383721017b30b5837a26c5042d925fd
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36175
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Ayaz Akram <yazakram@ucdavis.edu>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/main.py