linux-cp: fix route prefix construction 42/40142/4
authorAlexander Skorichenko <askorichenko@netgate.com>
Tue, 26 Dec 2023 15:27:10 +0000 (16:27 +0100)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 10 Jan 2024 16:16:35 +0000 (16:16 +0000)
commitafefe22e5d0ed0004d21b974d601c81f8a2b66b9
treef23babe74ad78c6184fc8b9de3bd23ef44927575
parent2c9b128e1b3732f9dd62699922480f9206a02b2d
linux-cp: fix route prefix construction

Prevent comparison ops for uninitialized IPv6 prefix bytes.

Type: fix

Change-Id: I440fea7f0725769406ad348eb3402a98c593dc3c
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
src/plugins/linux-cp/lcp_router.c