Skip to content

Commit 912f412

Browse files
committed
Drop some unused code
1 parent 9906c5c commit 912f412

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/msf/core/db_manager/host.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ def report_host(opts)
157157

158158
if not addr.kind_of? ::Mdm::Host
159159
addr = normalize_host(addr)
160-
# addr, scope = addr.split('%', 2)
161-
# opts[:scope] = scope if scope
162160

163161
unless ipv46_validator(addr)
164162
raise ::ArgumentError, "Invalid IP address in report_host(): #{addr}"

0 commit comments

Comments
 (0)