diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-09-20 15:27:23 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-09-20 16:07:24 +0200 |
| commit | 448d690a354c3ea481aba6254a285937d843cf81 (patch) | |
| tree | c3c0397bba55d7629b9a0311708096791aecc4ef /lib/prefix.c | |
| parent | 592011b25160ed6bc476e6855784ed2a7c8f3bc6 (diff) | |
lib: random make-coverity-happy nits
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/prefix.c')
| -rw-r--r-- | lib/prefix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prefix.c b/lib/prefix.c index 0b8664411d..f342c4c1db 100644 --- a/lib/prefix.c +++ b/lib/prefix.c @@ -261,7 +261,7 @@ int evpn_type5_prefix_match(const struct prefix *n, const struct prefix *p) return 0; prefixlen = evp->prefix.prefix_addr.ip_prefix_length; - np = &evp->prefix.prefix_addr.ip.ip.addr; + np = evp->prefix.prefix_addr.ip.ip.addrbytes; /* If n's prefix is longer than p's one return 0. */ if (prefixlen > p->prefixlen) |
