git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@859 e7ae566f-a301-0410-adde-c780ea21d3b5
james authored on 2005/12/23 04:50:48... | ... |
@@ -4347,8 +4347,12 @@ Which method |
4347 | 4347 |
.B m |
4348 | 4348 |
to use for adding routes on Windows? |
4349 | 4349 |
|
4350 |
+.B adaptive |
|
4351 |
+(default) -- Try IP helper API first. If that fails, fall |
|
4352 |
+back to the route.exe shell command. |
|
4353 |
+.br |
|
4350 | 4354 |
.B ipapi |
4351 |
-(default) -- Use IP helper API. |
|
4355 |
+-- Use IP helper API. |
|
4352 | 4356 |
.br |
4353 | 4357 |
.B exe |
4354 | 4358 |
-- Call the route.exe shell command. |
... | ... |
@@ -4357,7 +4361,9 @@ to use for adding routes on Windows? |
4357 | 4357 |
.B --dhcp-option type [parm] |
4358 | 4358 |
Set extended TAP-Win32 TCP/IP properties, must |
4359 | 4359 |
be used with |
4360 |
-.B --ip-win32 dynamic. |
|
4360 |
+.B --ip-win32 dynamic |
|
4361 |
+or |
|
4362 |
+.B --ip-win32 adaptive. |
|
4361 | 4363 |
This option can be used to set additional TCP/IP properties |
4362 | 4364 |
on the TAP-Win32 adapter, and is particularly useful for |
4363 | 4365 |
configuring an OpenVPN client to access a Samba server |
... | ... |
@@ -530,7 +530,8 @@ static const char usage_message[] = |
530 | 530 |
" lease-time: Lease time in seconds.\n" |
531 | 531 |
" Default is one year.\n" |
532 | 532 |
"--route-method : Which method to use for adding routes on Windows?\n" |
533 |
- " ipapi (default) -- Use IP helper API.\n" |
|
533 |
+ " adaptive (default) -- Try ipapi then fall back to exe.\n" |
|
534 |
+ " ipapi -- Use IP helper API.\n" |
|
534 | 535 |
" exe -- Call the route.exe shell command.\n" |
535 | 536 |
"--dhcp-option type [parm] : Set extended TAP-Win32 properties, must\n" |
536 | 537 |
" be used with --ip-win32 dynamic. For options\n" |