From ae9ecd74c41cbeb0bd7d47298b102284368b2eda Mon Sep 17 00:00:00 2001 From: gardners Date: Mon, 30 Apr 2012 15:45:07 +0930 Subject: [PATCH] by default replace old MDP bindings instead of returning with an error. --- overlay_mdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay_mdp.c b/overlay_mdp.c index 24149509..2f4cfcc9 100644 --- a/overlay_mdp.c +++ b/overlay_mdp.c @@ -1217,7 +1217,7 @@ int overlay_mdp_recv(overlay_mdp_frame *mdp,int *ttl) int overlay_mdp_bind(unsigned char *localaddr,int port) { overlay_mdp_frame mdp; - mdp.packetTypeAndFlags=MDP_BIND; + mdp.packetTypeAndFlags=MDP_BIND|MDP_FORCE; bcopy(localaddr,mdp.bind.sid,SID_SIZE); mdp.bind.port_number=port; int result=overlay_mdp_send(&mdp,MDP_AWAITREPLY,5000);