]> granicus.if.org Git - curl/commit
CURLOPT_ADDRESS_SCOPE: fix range check and more
authortmilburn <thomas2@instantsolve.net>
Thu, 7 Mar 2019 20:23:54 +0000 (20:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 13 Apr 2019 09:18:55 +0000 (11:18 +0200)
commitc3e38a4250d5f21a9189c3fdbbe45fbb71242184
treed63321693aeacf22bd24847ceef8d08785f6dfec
parentd715d2ac89abc0fc98ccb220c7f7cc148e747144
CURLOPT_ADDRESS_SCOPE: fix range check and more

Commit 9081014 fixed most of the confusing issues between scope id and
scope however 844896d added bad limits checking assuming that the scope
is being set and not the scope id.

I have fixed the documentation so it all refers to scope ids.

In addition Curl_if2ip refered to the scope id as remote_scope_id which
is incorrect, so I renamed it to local_scope_id.

Adjusted-by: Daniel Stenberg
Closes #3655
Closes #3765
Fixes #3713
docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.3
lib/if2ip.c
lib/if2ip.h
lib/setopt.c