summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-04-29 10:05:19 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-01-29 14:52:35 +0100
commit42c1652dcb744d41178df1f5acad1e0d10cdf42b (patch)
tree134c734ef6368e06abfc55f671ffe73f9f34b997
parente3c62b2aeb869002051d06b2a76eaf539f96b176 (diff)
lib,ospf6d: fix reference bandwidth description
Fix reference bandwidth description. It is Kbps, not Mbps. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
-rw-r--r--lib/libospf.h2
-rw-r--r--ospf6d/ospf6_interface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libospf.h b/lib/libospf.h
index 9a643256c2..45e7fb1870 100644
--- a/lib/libospf.h
+++ b/lib/libospf.h
@@ -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
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 2b42af390a..46a7c90dc7 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -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