diff options
author | Acee Lindem <acee@lindem.com> | 2024-10-22 16:48:33 +0200 |
---|---|---|
committer | Acee Lindem <acee@lindem.com> | 2024-10-25 16:31:10 +0200 |
commit | c735f25abb0c454a49b08de60fa2ed5521133f9a (patch) | |
tree | 5da9f5ae9caeca3fff56b66dc06bae3df0c86973 /lib/libospf.h | |
parent | Merge pull request #17168 from enkechen-panw/aigp-fix3 (diff) | |
download | frr-c735f25abb0c454a49b08de60fa2ed5521133f9a.tar.xz frr-c735f25abb0c454a49b08de60fa2ed5521133f9a.zip |
ospfd: Fix opaque LSA refresh interval and modify LSA cmds.
The configured OSPF refresh interval was not being used for opaque LSA (it always used the constant). Also, modified the timers lsa min-arrival command to have a maximum of 5000 msecs as well as providing a path for backward command compatibility.
Added missing user documentation for both timers lsa min-arrival and timers throttle lsa all.
Signed-off-by: Acee Lindem <acee@lindem.com>
Diffstat (limited to 'lib/libospf.h')
-rw-r--r-- | lib/libospf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libospf.h b/lib/libospf.h index 8a208beb3..5becc1594 100644 --- a/lib/libospf.h +++ b/lib/libospf.h @@ -27,8 +27,9 @@ extern "C" { #else #define OSPF_LS_REFRESH_TIME 1800 #endif -#define OSPF_MIN_LS_INTERVAL 5000 /* msec */ -#define OSPF_MIN_LS_ARRIVAL 1000 /* in milliseconds */ +#define OSPF_MIN_LS_INTERVAL 5000 /* milliseconds */ +#define OSPF_MIN_LS_ARRIVAL 1000 /* milliseconds */ +#define OSPF_MIN_LS_ARRIVAL_MAX 5000 /* milliseconds */ #define OSPF_LSA_INITIAL_AGE 0 /* useful for debug */ #define OSPF_LSA_MAXAGE 3600 #define OSPF_CHECK_AGE 300 |