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:
grossmj
2019-04-02 01:12:06 +07:00
parent a17119187b
commit dde01317e0
2 changed files with 5 additions and 3 deletions

View File

@ -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