-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vpc: add support for dedicated BFD LRP
Signed-off-by: zhangzujian <[email protected]>
- Loading branch information
1 parent
393db6a
commit ad73b1f
Showing
16 changed files
with
835 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From edc60ecd05185acf317ac3ca67c54eb50f9e99a8 Mon Sep 17 00:00:00 2001 | ||
From: zhangzujian <[email protected]> | ||
Date: Thu, 31 Oct 2024 02:56:09 +0000 | ||
Subject: [PATCH] allow ttl 254 | ||
|
||
Signed-off-by: zhangzujian <[email protected]> | ||
--- | ||
Beacon.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Beacon.cpp b/Beacon.cpp | ||
index d1b0658..1d4c3da 100755 | ||
--- a/Beacon.cpp | ||
+++ b/Beacon.cpp | ||
@@ -481,7 +481,7 @@ void Beacon::handleListenSocket(Socket &socket) | ||
} | ||
|
||
// TTL assumes that all control packets are from neighbors. | ||
- if (ttl != 255) | ||
+ if (ttl < 254) | ||
{ | ||
gLog.Optional(Log::Discard, "Discard packet: bad ttl/hops %hhu", ttl); | ||
return; | ||
-- | ||
2.43.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.