From 4b40dcd6e323f71b4a0f013fa4f50d55714354da Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Wed, 29 Apr 2020 10:05:19 +0200 Subject: [PATCH] lib: indicate that bandwidth is expressed in Kb, not in Mb indicate that bandwidth is expressed in Kb, not in Mb. Signed-off-by: Philippe Guibert --- lib/libospf.h | 2 +- ospf6d/ospf6_interface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libospf.h b/lib/libospf.h index c8ada9d3c52f..1daf42c77edb 100644 --- a/lib/libospf.h +++ b/lib/libospf.h @@ -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 diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h index ee24b989bdb1..c383ef00d468 100644 --- a/ospf6d/ospf6_interface.h +++ b/ospf6d/ospf6_interface.h @@ -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