gen.c does not support class numbers greater than 255
Summary
RFC 6895 specifies that a private class should be in the range 65280-65534 however if a new class directory is created with any number >255 the code generated by ./lib/dns/gen.c (line 956) fails as it assumes that 255 is the last record
BIND version used
BIND 9.15.7 (Development Release)
Steps to reproduce
- Create a directory called lib/dns/rdata/example_65280
- make clean
- make
Compile will fail with a message about a missing comma
What is the current bug behavior?
Fails to compile
What is the expected correct behavior?
It should compile cleanly