You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
613 B

  1. --- a/src/conf.c
  2. +++ b/src/conf.c
  3. @@ -865,7 +865,6 @@ static HANDLE_FUNC (handle_deny)
  4. static HANDLE_FUNC (handle_bind)
  5. {
  6. -#ifndef TRANSPARENT_PROXY
  7. int r = set_string_arg (&conf->bind_address, line, &match[2]);
  8. if (r)
  9. @@ -873,11 +872,6 @@ static HANDLE_FUNC (handle_bind)
  10. log_message (LOG_INFO,
  11. "Outgoing connections bound to IP %s", conf->bind_address);
  12. return 0;
  13. -#else
  14. - fprintf (stderr,
  15. - "\"Bind\" cannot be used with transparent support enabled.\n");
  16. - return 1;
  17. -#endif
  18. }
  19. static HANDLE_FUNC (handle_listen)