Skip to content

Commit a7e0d16

Browse files
committed
Enable IPv6 support
1 parent d0c5b17 commit a7e0d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ AsyncServer::AsyncServer(IPv6Address addr, uint16_t port) : _port(port), _noDela
15021502
#endif
15031503

15041504
AsyncServer::AsyncServer(uint16_t port) : _port(port), _noDelay(false), _pcb(0), _connect_cb(0), _connect_cb_arg(0) {
1505-
_addr.type = IPADDR_TYPE_V4;
1505+
_addr.type = IPADDR_TYPE_ANY;
15061506
_addr.u_addr.ip4.addr = INADDR_ANY;
15071507
}
15081508

0 commit comments

Comments
 (0)