From f2de7ef12e6ded893cfdfc6b6bf0a65579fe50dd Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 8 Apr 2013 17:37:15 +0000 Subject: [PATCH] Fix problem where tc grants always were sent to the last peer to send traffic git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index c4366390f..1af4213bf 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -511,7 +511,7 @@ sub grant_tcrequests { unless ($availableslots > 0) { next; } # no slots, ignore requests for now $udpcontext->{clientfudge}+=1; #adjust forecast for being busy $availableslots-=1; - $udpcontext->{socket}->send("resourcerequest: ok\n",$requestors->{$rkey}->{sockaddr}); + $udpcontext->{socket}->send("resourcerequest: ok\n",0,$requestors->{$rkey}->{sockaddr}); delete ($requestors->{$rkey}); #we acknoweldged, assume consumer got it, they'll do retry if they failed } }