Hi, I had a problem where npppd sometimes started with random configurations, and resolved it by callocing the struct in subject.
Cheers! Anders --- /usr/src/usr.sbin/npppd/npppd/parse.y.orig Wed May 7 09:25:49 2014 +++ /usr/src/usr.sbin/npppd/npppd/parse.y Wed May 7 09:26:20 2014 @@ -874,7 +874,7 @@ YYERROR; } - if ((n = malloc(sizeof(struct iface))) == NULL) { + if ((n = calloc(1, sizeof(struct iface))) == NULL) { yyerror("out of memory"); free($2); YYERROR;