From 8ddcdf625b3133724234a0e1d60a0a77e7d70ae4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 3 Jun 2020 13:05:40 -0400 Subject: [PATCH] Fix SSDP issue in python3 A bytes was split by str, fix this. --- confluent_server/confluent/discovery/protocols/ssdp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/ssdp.py b/confluent_server/confluent/discovery/protocols/ssdp.py index 514b991d..d90c4742 100644 --- a/confluent_server/confluent/discovery/protocols/ssdp.py +++ b/confluent_server/confluent/discovery/protocols/ssdp.py @@ -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: