Skip to content

Commit

Permalink
Drop useless comment
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Sep 3, 2021
1 parent e978705 commit 6ff695c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions accept-guard.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ int accept(int socket, struct sockaddr *addr, socklen_t *addrlen)

rc = org_accept(socket, addr, addrlen);
if (rc != -1) {
/* Parse configuration from environment variable. */
parse_acl();

if (!iface_allowed(rc, 0)) {
Expand Down Expand Up @@ -277,7 +276,6 @@ static ssize_t do_recv(int sd, int rc, int flags, int ifindex)
if (rc == -1 || (flags & MSG_PEEK))
goto done;

/* Parse configuration from environment variable. */
parse_acl();

if (!iface_allowed(sd, ifindex)) {
Expand Down

0 comments on commit 6ff695c

Please sign in to comment.