0011-Log-connect-errors-to-var-log-ppp-connect-errors.patch 865 B

1234567891011121314151617181920212223242526
  1. From 9af9d0f69eda99cc034743adf789a0005fbb3f1b Mon Sep 17 00:00:00 2001
  2. From: Mike Frysinger <vapier@gentoo.org>
  3. Date: Fri, 3 Jan 2020 17:20:06 +0100
  4. Subject: [PATCH 11/14] Log connect errors to /var/log/ppp-connect-errors
  5. ---
  6. pppd/pathnames.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/pppd/pathnames.h b/pppd/pathnames.h
  9. index 7647d49..2d7c621 100644
  10. --- a/pppd/pathnames.h
  11. +++ b/pppd/pathnames.h
  12. @@ -34,7 +34,7 @@
  13. #define _PATH_AUTHDOWN _ROOT_PATH "/etc/ppp/auth-down"
  14. #define _PATH_AUTHFAIL _ROOT_PATH "/etc/ppp/auth-fail"
  15. #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options."
  16. -#define _PATH_CONNERRS _ROOT_PATH "/etc/ppp/connect-errors"
  17. +#define _PATH_CONNERRS _ROOT_PATH "/var/log/ppp-connect-errors"
  18. #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/"
  19. #define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf"
  20. --
  21. 2.30.0