From 1a9816a515d01f63cd068a23e5046a46b94acf55 Mon Sep 17 00:00:00 2001 From: Piotrek Zadroga Date: Thu, 22 Feb 2024 15:16:20 +0100 Subject: [PATCH] [#3141] fix compilation error --- src/lib/dhcp/option4_dnr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dhcp/option4_dnr.cc b/src/lib/dhcp/option4_dnr.cc index 3564612a32..a1b5b9b215 100644 --- a/src/lib/dhcp/option4_dnr.cc +++ b/src/lib/dhcp/option4_dnr.cc @@ -720,7 +720,7 @@ DnrInstance::parseDnrInstanceConfigData(const std::string& config_txt) { } // Make notice if this is any of http alpn-ids. - if (alpn_id.starts_with('h')) { + if (alpn_id[0] == 'h') { alpn_http_ = true; } -- 2.47.2