summaryrefslogtreecommitdiff
path: root/lib/ipaddr.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-09-21 06:31:58 -0400
committerGitHub <noreply@github.com>2023-09-21 06:31:58 -0400
commitcd3bd19314ac86c25a7831f995947fae67c6706d (patch)
treec5b67cd6b3b62a8bea736777a026024b3805e561 /lib/ipaddr.h
parentd81e492368b8b78ab1f4fbaba3e72d93c3958608 (diff)
parent448d690a354c3ea481aba6254a285937d843cf81 (diff)
Merge pull request #14454 from opensourcerouting/coverity-20230920
lib: fix a bunch of coverity nits
Diffstat (limited to 'lib/ipaddr.h')
-rw-r--r--lib/ipaddr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ipaddr.h b/lib/ipaddr.h
index e3ad14d7db..c86e38c867 100644
--- a/lib/ipaddr.h
+++ b/lib/ipaddr.h
@@ -28,6 +28,7 @@ struct ipaddr {
enum ipaddr_type_t ipa_type;
union {
uint8_t addr;
+ uint8_t addrbytes[16];
struct in_addr _v4_addr;
struct in6_addr _v6_addr;
} ip;