Merge pull request #2557 from pacovn/Coverity_1465490_Unchecked_return_value

pimd: return check (Coverity 1465490)
This commit is contained in:
Quentin Young 2018-06-26 14:42:30 -04:00 committed by GitHub
commit cccb13bff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,7 +817,7 @@ int igmp_mtrace_recv_qry_req(struct igmp_sock *igmp, struct ip *ip_hdr,
* Previous-hop router not known,
* packet is sent to an appropriate multicast address
*/
inet_aton(MCAST_ALL_ROUTERS, &nh_addr);
(void)inet_aton(MCAST_ALL_ROUTERS, &nh_addr);
}
/* 6.2.2 8. If this router is the Rendez-vous Point */