Update some sentences related to suspending a link.

This commit is contained in:
grossmj committed 2017-07-20 11:11:44 +07:00
1 parent 5fd842e54d
commit ca3f6fb4b8
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ class Link:
def get_active_filters(self):
"""
Return the active filters.
If the node is suspend the filters will be override
Filters are overridden if the link is suspended.
"""
if self._suspend:
return {"frequency_drop": [-1]}
+1 -1
View File
@@ -199,7 +199,7 @@ class UDPLink(Link):
if node["node"].node_type and node["node"].status == "started":
return node
raise aiohttp.web.HTTPConflict(text="Can not capture because no running device on this link")
raise aiohttp.web.HTTPConflict(text="Cannot capture because there is no running device on this link")
@asyncio.coroutine
def read_pcap_from_source(self):
+1 -1
View File
@@ -66,7 +66,7 @@ LINK_OBJECT_SCHEMA = {
},
"suspend": {
"type": "boolean",
"description": "Link has been turned off"
"description": "Suspend the link"
},
"filters": FILTER_OBJECT_SCHEMA,
"capturing": {