Skip to content

Commit

Permalink
lib: indicate that bandwidth is expressed in Kb, not in Mb
Browse files Browse the repository at this point in the history
indicate that bandwidth is expressed in Kb, not in Mb.

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed Dec 14, 2021
1 parent e42f299 commit 4b40dcd
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 @@ -74,7 +74,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 @@ -182,7 +182,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 4b40dcd

Please sign in to comment.