# <public-remote-addr>,<public-remote-port>
# <private-local-addr>,<private-remote-addr>,<mtu>,<proto>
# <keepalive>,<timeout>
-# <extra-local-nets> <extra-remote-nets>
+# <extra-nets-for-local-cmd> <extra-nets-for-remote-cmd>
# [ <remote-command> [<remote-args> ...] ]
#
# proto may be slip or cslip
# <public-local-addr'>,<public-local-port'>
# <private-remote-addr>,<private-local-addr>,<mtu>,<proto>
# <keepalive>,<timeout>
-# <extra-remote-nets> <extra-local-nets>
+# <extra-nets-for-remote-cmd> <extra-nets-for-local-cmd>
#
# If it was given Print for <public-remote-foo'>, this command's first
# <public-local-foo> <public-local-foo'> <public-local-foo'>
# (-m not specified) (-m specified)
# actual addr/port that addr/port `Wait'
-# `Wait' the chosen address `Wait'
# `Print' the chosen address `Wait'
+# `Any' `Wait' for addr, `Wait'
+# chosen port for port
#
# udptunnel will userv ipif locally, as
# userv root ipif <private-local-addr>,<private-remote-addr>,<mtu>,<proto>
-# <extra-local-nets>
+# <extra-nets-for-local-cmd>
# or, if -l was given, userv root ipif is replaced with the argument(s)
# following -l option(s) until `.'.
#
@rcmd= (@ARGV,
@remoteopts,
"$rad,$rpd",
- $masq ? 'Wait,Wait' : $lapd,
+ $masq ? 'Wait,Wait' : $las eq 'Any' ? "Wait,$lpd" : $lapd,
"$rva,$lva,$mtu,$proto",
"$keepalive,$timeout",
$rexn, $lexn);