~elly/lambdamoo unlisted

3adbe067023b52697b65df56f59d116b84a9da6d — Elly Fong-Jones 6 months ago 6881869
default bind to loopback
1 files changed, 1 insertions(+), 1 deletions(-)

M net_bsd_tcp.c
M net_bsd_tcp.c => net_bsd_tcp.c +1 -1
@@ 103,7 103,7 @@ proto_make_listener(Var desc, int *fd, Var * canon, const char **name)
	return E_QUOTA;
    }
    address.sin_family = AF_INET;
    address.sin_addr.s_addr = htonl(INADDR_ANY);
    address.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
    address.sin_port = htons(port);
    if (bind(s, (struct sockaddr *) &address, sizeof(address)) < 0) {
	enum error e = E_QUOTA;