]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/passwordfd.c
Update DFS's legal name and email address to correct values. (#381)
[ppp.git] / pppd / plugins / passwordfd.c
index d718f3bdf81d74fd82d2d221e4b260d69d484040..6f8bc6f0be78265838f8f5733833f4c974fe7e82 100644 (file)
@@ -12,9 +12,9 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "pppd.h"
+#include <pppd/pppd.h>
 
-char pppd_version[] = VERSION;
+char pppd_version[] = PPPD_VERSION;
 
 static int passwdfd = -1;
 static char save_passwd[MAXSECRETLEN];
@@ -79,4 +79,8 @@ void plugin_init (void)
 
     chap_check_hook = pwfd_check;
     chap_passwd_hook = pwfd_passwd;
+
+#ifdef PPP_WITH_EAPTLS
+    eaptls_passwd_hook = pwfd_passwd;
+#endif
 }