summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-04-23 07:25:30 -0400
committerGitHub <noreply@github.com>2023-04-23 07:25:30 -0400
commit97ed21a5467d1df5f34e93e29359bfd00360b6b6 (patch)
tree47ce95e954132ae29160d3ab76f2ef0d54563f74
parent51108db19816b7347a1acd20cc69af957be94b48 (diff)
parent673f1d4d57c1f48cad4734e72524e5f83353c9dc (diff)
Merge pull request #13358 from zmw12306/ignore_nonzero_flags
-rw-r--r--babeld/message.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/babeld/message.c b/babeld/message.c
index b5c2a58984..15d772eb46 100644
--- a/babeld/message.c
+++ b/babeld/message.c
@@ -414,18 +414,6 @@ parse_packet(const unsigned char *from, struct interface *ifp,
DO_NTOHS(flags, message + 2);
/*
- * RFC 8966 4.6.5
- * All other bits MUST be sent as a 0 and silently
- * ignored on reception
- */
- if (CHECK_FLAG(flags, ~BABEL_UNICAST_HELLO)) {
- debugf(BABEL_DEBUG_COMMON,
- "Received Hello from %s on %s that does not have all 0's in the unused section of flags, ignoring",
- format_address(from), ifp->name);
- goto done;
- }
-
- /*
* RFC 8966 Appendix F
* TL;DR -> Please ignore Unicast hellos until FRR's
* BABEL is brought up to date