]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: return check (Coverity 1465490)
authorpaco <paco@voltanet.io>
Tue, 26 Jun 2018 15:31:00 +0000 (17:31 +0200)
committerpaco <paco@voltanet.io>
Tue, 26 Jun 2018 17:34:04 +0000 (19:34 +0200)
commitd1b21b9616e3fda279e9bc28f16764cbab9859ec
tree1dc78abdf689d4a61acc7c53711f0298ba9d17b8
parentb2e020256e368fbdb8ca9ec96cf6dac24f364566
pimd: return check (Coverity 1465490)

Unless someone intentionally changes MCAST_ALL_ROUTERS ("224.0.0.2") with a
wrong IP, this should never fail, so the fix is using "(void)" at the left
of the function call, as an explicit way of indicating we discard the
return value on purpose.

Signed-off-by: F. Aragon <paco@voltanet.io>
pimd/pim_igmp_mtrace.c