From 6727e23a479747c65da7d7e26c8b07510f2e7c6c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 29 Sep 2020 10:36:07 +1000 Subject: [PATCH] Update comments to have binary notation --- lib/dns/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/stats.c b/lib/dns/stats.c index e0025311f6..011889e77a 100644 --- a/lib/dns/stats.c +++ b/lib/dns/stats.c @@ -71,14 +71,14 @@ typedef enum { * S = 2 (0b10) means Ancient * * Since a counter cannot be stale and ancient at the same time, we - * treat S = 0x11 as a special case to deal with NXDOMAIN counters. + * treat S = 0b11 as a special case to deal with NXDOMAIN counters. */ #define RDTYPECOUNTER_STALE (1 << 9) #define RDTYPECOUNTER_ANCIENT (1 << 10) #define RDTYPECOUNTER_NXDOMAIN ((1 << 9) | (1 << 10)) /* - * S = 0x11 indicates an NXDOMAIN counter and in this case the RRtype + * S = 0b11 indicates an NXDOMAIN counter and in this case the RRtype * field signals the expiry of this cached item: * * RRType = 0 (0b00) means Active