fix shellcheck complaint

This commit is contained in:
Dirk Wetter
2026-06-01 16:56:47 +02:00
parent 84bd9dd1a3
commit a92cd8f702
+1 -3
View File
@@ -22744,9 +22744,7 @@ get_https_rrecord() {
fi
if [[ ${line:8:2} == "01" ]]; then # Then comes SvcParamKeys, see rfc 14.3.2 which should be alpn=1
alpnID+="\"" # double quote for clear text
else
continue # If the 1st element is not alpn, next iteration of loop will fail for now
fi # Should we care as SvcParamKey!=alpn doesn't seems not very common?
fi
len_alpnID="${line:12:2}" # length of alpn entries, e.g. 03 or 06
alpnID_wire="${line:16:4}" # value of first entry
alpnID="${alpnID}$(hex2ascii "$alpnID_wire")"