]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix a bug in generic_totext_in_svcb()
authorAram Sargsyan <aram@isc.org>
Mon, 10 Feb 2025 13:15:12 +0000 (13:15 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 17 Feb 2025 17:33:43 +0000 (17:33 +0000)
The 'sbpr_dohpath' case was missing from the switch-case. Add the
'sbpr_dohpath' case, which should work similarly as the 'sbpr_text'
case.

lib/dns/rdata/in_1/svcb_64.c

index b5c431c70bc330c8b482f478cf2ff7763f2d98ec..99be9ad03ab06c9ad73d33c978b705933aa6d14a 100644 (file)
@@ -695,6 +695,7 @@ generic_totext_in_svcb(ARGS_TOTEXT) {
                }
                switch (encoding) {
                case sbpr_text:
+               case sbpr_dohpath:
                        RETERR(multitxt_totext(&r, target));
                        break;
                case sbpr_port: