From 8044ed8fd6568a31cece25673b0cb00a54468be0 Mon Sep 17 00:00:00 2001 From: illiliti Date: Sun, 29 Aug 2021 04:59:31 +0300 Subject: [PATCH] contrib/helper.c: remove redundant bind call --- contrib/helper.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/contrib/helper.c b/contrib/helper.c index 6fff27e..9ead4e9 100644 --- a/contrib/helper.c +++ b/contrib/helper.c @@ -69,12 +69,6 @@ int main(int argc, char **argv) return 1; } - if (bind(fd, (struct sockaddr *)&sa, sizeof(sa)) == -1) { - perror("bind"); - close(fd); - return 1; - } - if (sendmsg(fd, &hdr, 0) == -1) { perror("sendmsg"); close(fd);