Add pap_username/password to pppd example if PAP Auth is enabled
This commit is contained in:
parent
e7ba97e2b5
commit
aa17ae4c0a
@ -87,6 +87,11 @@ int pppd_main(int argc, char *argv[])
|
||||
.disconnect_script = &disconnect_script,
|
||||
.connect_script = &connect_script,
|
||||
.ttyname = "/dev/ttyS2",
|
||||
#ifdef CONFIG_NETUTILS_PPPD_PAP
|
||||
.pap_username = "username",
|
||||
.pap_password = "password",
|
||||
#endif
|
||||
};
|
||||
|
||||
return pppd(&pppd_settings);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user