diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-07-02 13:22:49 -0400 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-08-21 17:25:18 +0100 |
commit | a031c4dd72514232296e9a570c3d701f5f33ad63 (patch) | |
tree | 7c155a444fa26bc8c30426ae5905c9f6f6c2fab3 /pimd/pim_cmd.c | |
parent | 73de55a53c78d572f63d45115681567a4c0cef65 (diff) | |
download | quagga-a031c4dd72514232296e9a570c3d701f5f33ad63.tar.bz2 quagga-a031c4dd72514232296e9a570c3d701f5f33ad63.tar.xz |
pimd: Ensure new generation_id is different from previous
The RFC states that an interfaces generation_id must be changed
if it experiences an if down. From 4.3.1:
The GenID option contains a randomly generated
32-bit value that is regenerated each time PIM forwarding is started
or restarted on the interface, including when the router itself
restarts.
Since we are only grabbing a new generation_id without comparing
it to the previous generation_id, it is possible that random
can generate the exact same number.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
0 files changed, 0 insertions, 0 deletions