[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] rooster on linux

On 11/21/11 2:53 PM, Lukas Slebodnik wrote:
On Mon, Nov 21, 2011 at 02:27:24PM -0600, Dan Bradley wrote:
11/21/11 14:07:03 UdpWakeOnLanWaker::doWake: Malformed subnet
What does the classad for slot1@xxxxxxxxxxxxxxxxxxx look like?  Does
it contain the strange looking subnet string mentioned in the above
error message?

Subnet mask is ok, but in constructor UdpWakeOnLanWaker::UdpWakeOnLanWaker
SubnetMask attribute is wrong copied.

    found = ad->LookupString (

where MAX_IP_ADDRESS_LENGTH is equal 16. So only 15 characters are copied
"" without tailing zero '\0' character.


Yikes.  Good catch!

I'm not familiar with that code. In addition to patching this for 7.6.5, we better review that area in 7.7 to make sure it jives with the new IPv6 support that's being added.