fixed a bug with DNA response generation.

This commit is contained in:
gardners 2012-06-21 13:37:34 +09:30
parent 2a6cdc0389
commit c3649c415f

View File

@ -525,8 +525,7 @@ int overlay_saw_mdp_frame(int interface, overlay_mdp_frame *mdp,long long now)
bzero(&mdpreply,sizeof(mdpreply));
/* mark as outgoing MDP message */
mdp->packetTypeAndFlags&=MDP_FLAG_MASK;
mdp->packetTypeAndFlags|=MDP_TX;
mdpreply.packetTypeAndFlags=MDP_TX;
/* Set source and destination addresses */
bcopy(&mdp->out.dst.sid,mdpreply.out.src.sid,SID_SIZE);