Re: WPAD code

2010-03-02 Thread craig
Whoops, thanks, meant to say 'for'. My work proxy never gave me anything in @netWpadAddrs. Redfaced, cmac On Mar 2, 2010, at 7:11 PM, Bruce Gray wrote: On Mar 2, 2010, at 7:44 PM, cr...@animalhead.com wrote: --snip-- while (@netWpadAddrs) { # the proxy answered with (an) IP address(es)

Re: WPAD code

2010-03-02 Thread Bruce Gray
On Mar 2, 2010, at 7:44 PM, cr...@animalhead.com wrote: --snip-- while (@netWpadAddrs) { # the proxy answered with (an) IP address(es) -- try to read the wpad.dat file my $wpadIP = sprintf("%d.%d.%d.%d", unpack ('C4', $_)); That looks like a serious bug, causing an infinite loop, a