Skip to content

Commit

Permalink
Merge pull request #1425 from p-l-/webui-tcpwrapped
Browse files Browse the repository at this point in the history
Web/UI: support pseudo-status "tcpwrapped" for ports
  • Loading branch information
p-l- committed Aug 26, 2022
2 parents ede2e20 + 59b2de9 commit ca6324c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/static/ivre/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,13 +424,15 @@ ivreWebUi
case "closed": return "label-danger";
case "filtered":
case "open|filtered":
case "tcpwrapped":
return "label-warning";
}
};
$scope.short_port_status = function(status) {
return {
"filtered": "flt",
"open|filtered": "opn|flt"
"open|filtered": "opn|flt",
"tcpwrapped": "tcpwrpd"
}[status] || status;
};
$scope.url_from_port = function(port, addr) {
Expand Down

0 comments on commit ca6324c

Please sign in to comment.