diff options
Diffstat (limited to 'src/account.c')
-rw-r--r-- | src/account.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/account.c b/src/account.c index 1b2e468..96bea4e 100644 --- a/src/account.c +++ b/src/account.c @@ -394,6 +394,11 @@ int account_alloc(struct account **accp, const char *sipaddr) if (err) goto out; } + else if (0 == msg_param_decode(&acc->laddr.params, "auth_pass", &pl)) { + err = pl_strdup(&acc->auth_pass, &pl); + if (err) + goto out; + } err = stunsrv_decode(acc, &acc->laddr); if (err) |