mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:02:05 -04:00
[9.20] fix: nil: Disable clang-format for Local IPv6 Unicast Addresses strings
The LSP server (using clangd) was always complaining about:
Suspicious string literal, probably missing a comma
for the two Local IPv6 Unicast Addresses strings that spanned
across multiple lines. Disable clang-format for these two lines.
Backport of MR !10764
Merge branch 'backport-ondrej/fix-suspicious-string-literal-probably-missing-comma-9.20' into 'bind-9.20'
See merge request isc-projects/bind9!10765
This commit is contained in:
commit
e016242c24
1 changed files with 5 additions and 4 deletions
|
|
@ -427,10 +427,11 @@ const char *empty_zones[] = {
|
|||
"255.255.255.255.IN-ADDR.ARPA", /* BROADCAST */
|
||||
|
||||
/* Local IPv6 Unicast Addresses */
|
||||
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6."
|
||||
"ARPA",
|
||||
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6."
|
||||
"ARPA",
|
||||
/* clang-format off */
|
||||
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA",
|
||||
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA",
|
||||
/* clang-format on */
|
||||
|
||||
/* LOCALLY ASSIGNED LOCAL ADDRESS SCOPE */
|
||||
"D.F.IP6.ARPA", "8.E.F.IP6.ARPA", /* LINK LOCAL */
|
||||
"9.E.F.IP6.ARPA", /* LINK LOCAL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue