-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I get this error from Make:
cc -g main.c -o udpbroadcastrelay
main.c: In function 'main':
main.c:2102:59: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?
if (setsockopt(iface->raw_socket, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))<0) {
^~~~~~~~~~~~
SO_REUSEADDR
main.c:2102:59: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:4: udpbroadcastrelay] Error 1
Metadata
Metadata
Assignees
Labels
No labels