PPPAPI, added const modifier on auth strings

This commit is contained in:
Sylvain Rochet
2014-12-24 19:05:19 +01:00
parent 61f0231ce0
commit 91356d2d03
2 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ pppapi_do_ppp_set_auth(struct pppapi_msg_msg *msg)
* tcpip_thread context.
*/
void
pppapi_set_auth(ppp_pcb *pcb, u8_t authtype, char *user, char *passwd)
pppapi_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd)
{
struct pppapi_msg msg;
msg.function = pppapi_do_ppp_set_auth;