diff options
Diffstat (limited to 'regress/netcat.c')
-rw-r--r-- | regress/netcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/netcat.c b/regress/netcat.c index c14d8164c..bffaade58 100644 --- a/regress/netcat.c +++ b/regress/netcat.c | |||
@@ -719,11 +719,11 @@ local_listen(char *host, char *port, struct addrinfo hints) | |||
719 | &rtableid, sizeof(rtableid)) == -1)) | 719 | &rtableid, sizeof(rtableid)) == -1)) |
720 | err(1, "setsockopt SO_RTABLE"); | 720 | err(1, "setsockopt SO_RTABLE"); |
721 | #endif | 721 | #endif |
722 | 722 | #ifdef SO_REUSEPORT | |
723 | ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x)); | 723 | ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x)); |
724 | if (ret == -1) | 724 | if (ret == -1) |
725 | err(1, NULL); | 725 | err(1, NULL); |
726 | 726 | #endif | |
727 | set_common_sockopts(s); | 727 | set_common_sockopts(s); |
728 | 728 | ||
729 | if (bind(s, (struct sockaddr *)res0->ai_addr, | 729 | if (bind(s, (struct sockaddr *)res0->ai_addr, |