Follow-up from "Remove ECS authoritative implementation from BIND"
The following discussions from !219 (merged) should be addressed:
Could we either use a
#definefrom the header or
sizeof(node_num)/sizeof(node_num)for all occurrences of
2meaning the number of elements in this particular array?
Since the data stored here are being simplified, why can't we have:
I don't have the full picture here, but the generic names are confusing to me (especially when used in
The other reader-friendly option (requiring less code changes) would be to add:
#define IPV4_INDEX 0 #define IPV6_INDEX 1
and use it consistently in the code using