Skip to content

Commit

Permalink
lib,ospf6d: fix reference bandwidth description
Browse files Browse the repository at this point in the history
Fix reference bandwidth description. It is Kbps, not Mbps.

Signed-off-by: Philippe Guibert <[email protected]>
Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
pguibert6WIND committed Jan 29, 2024
1 parent e3c62b2 commit 42c1652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/libospf.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ extern "C" {
#define OSPF_TRANSMIT_DELAY_DEFAULT 1
#define OSPF_DEFAULT_BANDWIDTH 10000 /* Mbps */

#define OSPF_DEFAULT_REF_BANDWIDTH 100000 /* Mbps */
#define OSPF_DEFAULT_REF_BANDWIDTH 100000 /* Kbps */

#define OSPF_POLL_INTERVAL_DEFAULT 60
#define OSPF_NEIGHBOR_PRIORITY_DEFAULT 0
Expand Down
2 changes: 1 addition & 1 deletion ospf6d/ospf6_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ extern const char *const ospf6_interface_state_str[];
#define OSPF6_INTERFACE_TRANSDELAY 1
#define OSPF6_INTERFACE_INSTANCE_ID 0
#define OSPF6_INTERFACE_BANDWIDTH 10000 /* Mbps */
#define OSPF6_REFERENCE_BANDWIDTH 100000 /* Mbps */
#define OSPF6_REFERENCE_BANDWIDTH 100000 /* Kbps */
#define OSPF6_INTERFACE_SSO_RETRY_INT 1
#define OSPF6_INTERFACE_SSO_RETRY_MAX 5

Expand Down

0 comments on commit 42c1652

Please sign in to comment.