mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-31 06:03:20 +00:00
Add pap_username/password to pppd example if PAP Auth is enabled
This commit is contained in:
parent
e7ba97e2b5
commit
aa17ae4c0a
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue