glibc/tests/Regression/bz1579451-glibc-IP-BIND-ADDRESS-NO-PORT-is-not-defined-in/bug.c
2023-04-04 01:55:48 +02:00

10 lines
190 B
C

#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) {
setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0);
return 0;
}