ipv6: only probe once
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Mar 2011 10:10:55 +0000 (11:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Mar 2011 10:10:55 +0000 (11:10 +0100)
commit67eb679264b9b6ebd1b123275ac729c8092fce10
treebbd7dcc2da53336f8eba7a4a66277c6df0cdfeca
parent9680df4807be3a33640611a79d2e113335e3fc69
ipv6: only probe once

Move ipv6-functional-probe into a single function that is used from all
places that need to know.

Make the probe function store the result in a static variable so that
subsequent invokes just returns the previous result and won't have to
probe again.
lib/hostip.h
lib/hostip6.c
lib/hostthre.c