From 6d5ffe19d04d51e8962f7ae026b63ae79a2e0773 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 1 Feb 2016 21:35:44 -0500 Subject: [PATCH] resolve: always align flags to 8th column and print CAA flags Left-over unknown flags are printed numerically. Otherwise, it wouldn't be known what bits are remaining without knowning what the known bits are. A test case is added to verify the flag printing code: ============== src/resolve/test-data/fake-caa.pkts ============== google.com. IN CAA 0 issue "symantec.com" google.com. IN CAA 128 issue "symantec.com" -- Flags: critical google.com. IN CAA 129 issue "symantec.com" -- Flags: critical 1 google.com. IN CAA 22 issue "symantec.com" -- Flags: 22 --- src/resolve/test-data/fake-caa.pkts | Bin 0 -> 196 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/resolve/test-data/fake-caa.pkts diff --git a/src/resolve/test-data/fake-caa.pkts b/src/resolve/test-data/fake-caa.pkts new file mode 100644 index 0000000000000000000000000000000000000000..1c3ecc54919def5a36c343c16f2c613c33ca54e7 GIT binary patch literal 196 zcmdO7fB?4i{QUHsROaOTTn0u)21W*kkaz}R2G-2t;?mUO%G|`flGJ29psXfd4GpAf LXe3pG7^VgQS6MIc literal 0 HcmV?d00001 -- 2.30.2