Rename scope to zone_id

This commit is contained in:
Spencer McIntyre 2022-03-15 11:14:41 -04:00
parent 71cacc4cc2
commit a6a63d0895
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ module Msf
if Rex::Socket.is_ipv4?(host)
norm_host = host
elsif Rex::Socket.is_ipv6?(host)
# If it's an IPv6 addr, drop the scope
address, scope = host.split('%', 2)
# If it's an IPv6 addr, drop the zone_id
address, _ = host.split('%', 2)
norm_host = address
else
begin