summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorPiotrek Zadroga <piotrek@isc.org>2024-02-22 15:16:20 +0100
committerPiotrek Zadroga <piotrek@isc.org>2024-02-23 17:14:41 +0100
commit1a9816a515d01f63cd068a23e5046a46b94acf55 (patch)
tree19b39c55a20109bf16e5205bac41297dbdaf1174 /src/lib
parent[#3141] ChangeLog entry (diff)
downloadkea-1a9816a515d01f63cd068a23e5046a46b94acf55.tar.xz
kea-1a9816a515d01f63cd068a23e5046a46b94acf55.zip
[#3141] fix compilation error
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dhcp/option4_dnr.cc2
1 files changed, 1 insertions, 1 deletions
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;
}