From: Piotrek Zadroga Date: Thu, 22 Feb 2024 14:16:20 +0000 (+0100) Subject: [#3141] fix compilation error X-Git-Tag: Kea-2.5.6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a9816a515d01f63cd068a23e5046a46b94acf55;p=thirdparty%2Fkea.git [#3141] fix compilation error --- 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; }