mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 04:32:11 +00:00
Fix SSDP issue in python3
A bytes was split by str, fix this.
This commit is contained in:
parent
427a518673
commit
8ddcdf625b
@ -277,7 +277,7 @@ def _parse_ssdp(peer, rsp, peerdata):
|
||||
if ip in neighutil.neightable:
|
||||
nid = neighutil.neightable[ip]
|
||||
mac = nid
|
||||
headlines = rsp.split('\r\n')
|
||||
headlines = rsp.split(b'\r\n')
|
||||
try:
|
||||
_, code, _ = headlines[0].split(' ', 2)
|
||||
except ValueError:
|
||||
|
Loading…
Reference in New Issue
Block a user