mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 08:25:22 +00:00
Replace bcmp() with memcmp()
This commit is contained in:
parent
942605d247
commit
6f74393ea1
@ -295,7 +295,7 @@ int overlay_saw_mdp_frame(int interface, overlay_mdp_frame *mdp,long long now)
|
||||
|
||||
for(i=0;i<MDP_MAX_BINDINGS;i++)
|
||||
{
|
||||
if (!bcmp(&mdp->out.dst,&mdp_bindings[i],sizeof(sockaddr_mdp)))
|
||||
if (!memcmp(&mdp->out.dst,&mdp_bindings[i],sizeof(sockaddr_mdp)))
|
||||
{ /* exact and specific match, so stop searching */
|
||||
match=i; break; }
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user