diff options
author | JuanJo Ciarlante <jjo@google.com> | 2009-11-11 15:35:31 +0100 |
---|---|---|
committer | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-25 13:30:30 +0100 |
commit | 9d4c64b584173789780431e5fd5acf977cf72e9d (patch) | |
tree | 2ded8f89e663eacce051a30f5a353ebba7bd5cd6 /socket.h | |
parent | efa85c8b086121dc5df0e07b110751077e3d1ec4 (diff) | |
download | openvpn-9d4c64b584173789780431e5fd5acf977cf72e9d.tar.gz openvpn-9d4c64b584173789780431e5fd5acf977cf72e9d.tar.xz openvpn-9d4c64b584173789780431e5fd5acf977cf72e9d.zip |
* polished redirect-gateway (ipv4 on ipv6 endpoints) support
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -383,6 +383,12 @@ void setenv_link_socket_actual (struct env_set *es, void bad_address_length (int actual, int expected); +#ifdef USE_PF_INET6 +/* IPV4_INVALID_ADDR: returned by link_socket_current_remote() + * to ease redirect-gateway logic for ipv4 tunnels on ipv6 endpoints + */ +#define IPV4_INVALID_ADDR 0xffffffff +#endif in_addr_t link_socket_current_remote (const struct link_socket_info *info); void link_socket_connection_initiated (const struct buffer *buf, |