From 31d19e9398fda0bb1e540e9b5ab2a9429f947f14 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 11 Sep 2020 09:44:09 -0400 Subject: [PATCH] Fix deployment.useinsecureprotocols If explicitly set to 'never', it would behave as 'firmware'. --- confluent_server/confluent/discovery/protocols/pxe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index e099b5c3..93b16c35 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -441,7 +441,7 @@ def check_reply(node, info, packet, sock, cfg, reqview): return rqtype = packet[53][0] insecuremode = cfd.get(node, {}).get('deployment.useinsecureprotocols', - 'never') + {}).get('value', 'never') if not insecuremode: insecuremode = 'never' if insecuremode == 'never' and not httpboot: