summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-23 16:22:45 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-06-23 17:23:37 +0200
commit52e8a7c4f000a0396cbaf9f22d1ae372b745ba23 (patch)
treeb639adfc71b03a264cb25a05bbfe329cc56bd34e /lib/nexthop.h
parentzebra: Fix bug in netconf handling where dplane would drop the change (diff)
downloadfrr-52e8a7c4f000a0396cbaf9f22d1ae372b745ba23.tar.xz
frr-52e8a7c4f000a0396cbaf9f22d1ae372b745ba23.zip
lib: Increase nexthop flags size to 16 bits
commit: 5609e70fb87a3b23b55629a33e5afb298974c142 Added a new flag to the `struct nexthop` and this addition of a flag caused the flags size to be too small. Increase the size of flags to allow more flags to be had. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index e324e5849..c939fd37e 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -81,7 +81,7 @@ struct nexthop {
enum nexthop_types_t type;
- uint8_t flags;
+ uint16_t flags;
#define NEXTHOP_FLAG_ACTIVE (1 << 0) /* This nexthop is alive. */
#define NEXTHOP_FLAG_FIB (1 << 1) /* FIB nexthop. */
#define NEXTHOP_FLAG_RECURSIVE (1 << 2) /* Recursive nexthop. */