From 6769c171c1293c573f66ef6648fa79581105f85a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 3 Feb 2022 11:50:34 -0500 Subject: [PATCH] Fix confignet for python2 --- confluent_osdeploy/common/profile/scripts/confignet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index e868a4c4..3bdc7638 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -317,7 +317,7 @@ if __name__ == '__main__': myname = myname[0] myname = socket.inet_pton(socket.AF_INET, myname) for addr in myaddrs: - if myname == bytes(addr[1]): + if myname == addr[1].tobytes(): curridx = addr[-1] if curridx in doneidxs: continue