Added PWMD_OPTION_IP_VERSION which should be set to a pwmd_ip_version_t
commit1d156a1800c61a8ea4ff92b85752893e8360dd5d
authorBen Kibbey <bjk@luxsci.net>
Sun, 29 Mar 2009 16:24:31 +0000 (29 12:24 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 29 Mar 2009 16:24:31 +0000 (29 12:24 -0400)
treeda3c8141197666dc30852737f22e654010bf52a1
parent2291a5f0755feae97a4c6bc399cae8f9e61f97ba
Added PWMD_OPTION_IP_VERSION which should be set to a pwmd_ip_version_t
before trying to connect to an SSH host. This sets the IP version to
use: PWMD_IPV4, PWMD_IPV6 or the default of PWMD_IP_ANY.

Added pwmc command line options --ipv4, -4, --ipv6 and -6 to use this
new option.
src/libpwmd.c
src/libpwmd.h.in
src/pwmc.c
src/types.h