summaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-10-31 08:00:54 +0100
committerGitHub <noreply@github.com>2016-10-31 08:00:54 +0100
commit434d120226c31fea9c1ff905c37486d6ed58633a (patch)
treef3d69229c6c14f8b5e84337b3ac8ad0f470e5548 /drivers/unix/tcp_server_posix.h
parentde454318e72f5de13c5a1efff5811d41e360a8a2 (diff)
parentbdc7ca84cac727f3f94663f23e1229450230bd2e (diff)
Merge pull request #6981 from Faless/ipv6_fix
Use IPv6 dual stack socket by default. Allow restricting IP version for TCP/UDP.
Diffstat (limited to 'drivers/unix/tcp_server_posix.h')
-rw-r--r--drivers/unix/tcp_server_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/tcp_server_posix.h b/drivers/unix/tcp_server_posix.h
index 134ec494cb..a700b6ae0e 100644
--- a/drivers/unix/tcp_server_posix.h
+++ b/drivers/unix/tcp_server_posix.h
@@ -40,7 +40,7 @@ class TCPServerPosix : public TCP_Server {
public:
- virtual Error listen(uint16_t p_port, IP_Address::AddrType p_type = IP_Address::TYPE_IPV4, const List<String> *p_accepted_hosts=NULL);
+ virtual Error listen(uint16_t p_port, IP_Address::AddrType p_type, const List<String> *p_accepted_hosts=NULL);
virtual bool is_connection_available() const;
virtual Ref<StreamPeerTCP> take_connection();