mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
bug, cannot use str when searching bytestring
This commit is contained in:
parent
e2b160a993
commit
64bee0b46d
1 changed files with 3 additions and 1 deletions
|
@ -140,7 +140,9 @@ def mac_from_ip(l, arping_args, ip):
|
|||
output.seek(0)
|
||||
|
||||
# Parse HW address from output
|
||||
for line in output:
|
||||
for _line in output:
|
||||
line = _line.decode('utf-8')
|
||||
|
||||
line_start = 'Unicast reply from {ip} '.format(
|
||||
ip=ip
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue