]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
pppd: add experimental support for PEAP protocol, an extension of EAP
[ppp.git] / pppd / main.c
index 87a5d29217bb48103440c3af6e467f75854e49dd..203202fe6ed6ffcbc21cbcf7cd102c58e5b3a9a9 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <ctype.h>
 #include <stdlib.h>
 
 
 /* interface vars */
-char ifname[MAXIFNAMELEN];     /* Interface name */
+char ifname[IFNAMSIZ];         /* Interface name */
 int ifunit;                    /* Interface unit number */
 
 struct channel *the_channel;