]> git.proxmox.com Git - mirror_frr.git/commit
pimd: fix mtracebis tool warning
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 19 Jan 2023 15:09:29 +0000 (12:09 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 19 Jan 2023 15:09:29 +0000 (12:09 -0300)
commitd8145114e0be94ee634743d696112a80826094ea
treed7132a6321970aa480a3d18eaf3a6ad5c0d39061
parentcd16c74b7761c4565878eaf325b0d10189b89106
pimd: fix mtracebis tool warning

Use `getpid()` to initialize the sequence number. This change silences
Coverity Scan warning about truncated use of `time()` which in this case
is not a problem.

Found by Coverity Scan (CID 1519828)

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
pimd/mtracebis_netlink.c