netlink: fix route protocol constant values to match Linux

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 16f8d88294)
This commit is contained in:
Marek Zarychta 2024-03-11 08:50:46 -07:00 committed by Gleb Smirnoff
parent 97bfe58ddc
commit d45714ade3

View file

@ -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)