mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 23:38:17 +00:00
Fix packet filter not working for Ethernet switch and Ethernet hub. Fixes https://github.com/GNS3/gns3-gui/issues/2754
This commit is contained in:
@ -528,7 +528,7 @@ class Compute:
|
||||
elif response.status == 503:
|
||||
raise aiohttp.web.HTTPServiceUnavailable(text="Service unavailable {} {}".format(url, body))
|
||||
else:
|
||||
raise NotImplementedError("{} status code is not supported".format(response.status))
|
||||
raise NotImplementedError("{} status code is not supported for {} '{}'".format(response.status, method, url))
|
||||
if body and len(body):
|
||||
if raw:
|
||||
response.body = body
|
||||
|
Reference in New Issue
Block a user