David Johansen wrote: % Ok, I updated that to cover the situations you mentioned. Stripping the % port doesn't seem like it would work, because if you had ipv6 addr with no % port, we would end up stripping the last section from the address. Instead,
Stripping ':[0-9]+' from the end of hostname should work. http://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_network_resource_identifiers % I added regex checks for ipv6 with a custom port, and dns hostname with a % custom port, stripping the port from the netloc if matched. If it doesnt % find a match for the port pattern, then it just passes original netloc % value. % % I tested it on a client connecting to an instance that uses normal ports, % ie. no :[0-9] in the hostname, as well as the instance where I discovered % this, using 8080. Both cent5 and cent6 clients were able to connect. Let me % know if you see anything else that may need tweaking. % % https://raw.github.com/gist/3909534/5b66bd19a8f1778fb368f3422fc954e016c3b0f2/osad.py.patch Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel