aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Zarychta <zarychtam@plan-b.pwste.edu.pl>2024-03-11 15:50:46 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2024-03-18 16:15:28 +0000
commite5c1ba936955d6f74de988db38d6f215e26492cf (patch)
tree610b0cca83069ab75da275f523bf5668359f7664
parent79a095fa8a66a55e21d75c540a56249718d4eb73 (diff)
downloadsrc-stable/13.tar.gz
src-stable/13.zip
netlink: fix route protocol constant values to match Linuxstable/13
Although these particular constants aren't supported, the incorrect values break bird 2.15 operation. PR: 277618 Reported by: Ondrej Zajicek <santiago@crfreenet.org> (cherry picked from commit 16f8d8829472dfdf6b3b2bb21d652f0bafefccbc)
-rw-r--r--sys/netlink/route/route.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netlink/route/route.h b/sys/netlink/route/route.h
index 9247a59855bb..1d4149e23d2f 100644
--- a/sys/netlink/route/route.h
+++ b/sys/netlink/route/route.h
@@ -282,8 +282,8 @@ struct rtvia {
NL_RTAX_RTO_MIN = 13, /* not supported */
NL_RTAX_INITRWND = 14, /* not supported */
NL_RTAX_QUICKACK = 15, /* not supported */
- NL_RTAX_CC_ALGO = 15, /* not supported */
- NL_RTAX_FASTOPEN_NO_COOKIE = 16, /* not supported */
+ NL_RTAX_CC_ALGO = 16, /* not supported */
+ NL_RTAX_FASTOPEN_NO_COOKIE = 17, /* not supported */
__NL_RTAX_MAX
};
#define NL_RTAX_MAX (__NL_RTAX_MAX - 1)