2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix SSDP issue in python3

A bytes was split by str, fix this.
This commit is contained in:
Jarrod Johnson 2020-06-03 13:05:40 -04:00
parent 427a518673
commit 8ddcdf625b

View File

@ -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: