We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b92cc commit 02afc3aCopy full SHA for 02afc3a
lib/msf/ui/console/command_dispatcher/core.rb
@@ -943,7 +943,11 @@ def cmd_route(*args)
943
print(tbl_ipv6.to_s) if tbl_ipv6.rows.length > 0
944
945
if (tbl_ipv4.rows.length + tbl_ipv6.rows.length) < 1
946
- print_status('There are currently no routes defined.')
+ print_status("There are currently no routes defined.")
947
+ elsif (tbl_ipv4.rows.length < 1) && (tbl_ipv6.rows.length > 0)
948
+ print_status("There are currently no IPv4 routes defined.")
949
+ elsif (tbl_ipv4.rows.length > 0) && (tbl_ipv6.rows.length < 1)
950
+ print_status("There are currently no IPv6 routes defined.")
951
end
952
953
else
0 commit comments