glibc/tests/Regression/bz1579451-glibc-IP-BIND-ADDRESS-NO-PORT-is-not-defined-in/bug.c

10 lines
190 B
C
Raw Normal View History

2023-04-03 23:55:48 +00:00
#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;
}