summaryrefslogtreecommitdiff
path: root/lib/linklist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-07-28 17:23:38 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-28 07:27:47 -0400
commit833a7ff9cc14b92caf36c48ea87e59f68037046c (patch)
tree3f04d9e82126dfee4d24ddadd64e3884342f8066 /lib/linklist.c
parent60bad36fb798cecbd566129d88faeeccca7353c4 (diff)
ospfd: use random() to pick initial DD seq#
While the idea for this came the other way around - removing quagga_time() - using random() is actually a better idea here. It's seeded by time to begin with, but if ospfd restarts several times in a short timespan it won't run straight into the same sequence number. (Should also update the random seed to include microseconds so restarts within a second use a different seq#) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/linklist.c')
0 files changed, 0 insertions, 0 deletions