diff options
| author | Russ White <russ@riw.us> | 2023-01-24 10:51:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-24 10:51:44 -0500 |
| commit | 9b1b028cc254a3399674240a4f47b88b853edb91 (patch) | |
| tree | 36a798922e3acd813603827e1ea4ccb5b3680083 /ospfd/ospf_interface.c | |
| parent | b25695f630cfaa9b71a72f1da8577d6d835b6b51 (diff) | |
| parent | 5d543b3fd26c66af0d66306a737e91a875fc9898 (diff) | |
Merge pull request #12682 from opensourcerouting/time-cs
*: fix time truncation in many places
Diffstat (limited to 'ospfd/ospf_interface.c')
| -rw-r--r-- | ospfd/ospf_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index a0b14e73ee..831906b908 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -30,6 +30,7 @@ #include "command.h" #include "stream.h" #include "log.h" +#include "network.h" #include "zclient.h" #include "bfd.h" #include "ldp_sync.h" @@ -274,7 +275,7 @@ struct ospf_interface *ospf_if_new(struct ospf *ospf, struct interface *ifp, oi->t_ls_upd_event = NULL; oi->t_ls_ack_direct = NULL; - oi->crypt_seqnum = time(NULL); + oi->crypt_seqnum = frr_sequence32_next(); ospf_opaque_type9_lsa_init(oi); |
