]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/passwordfd.c
pppd: Add support for registering ppp interface via Linux rtnetlink API
[ppp.git] / pppd / plugins / passwordfd.c
index d718f3bdf81d74fd82d2d221e4b260d69d484040..84fd72e3b9b6994a43d112410de3312744cdf3bc 100644 (file)
@@ -7,6 +7,10 @@
  *  with pap- and chap-secrets files.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
@@ -79,4 +83,8 @@ void plugin_init (void)
 
     chap_check_hook = pwfd_check;
     chap_passwd_hook = pwfd_passwd;
+
+#ifdef USE_EAPTLS
+    eaptls_passwd_hook = pwfd_passwd;
+#endif
 }