Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
This commit is contained in:
@@ -121,7 +121,7 @@ METHOD(task_t, build, status_t,
|
||||
int i;
|
||||
|
||||
strongswan = lib->settings->get_bool(lib->settings,
|
||||
"charon.send_vendor_id", FALSE);
|
||||
"%s.send_vendor_id", FALSE, charon->name);
|
||||
for (i = 0; i < countof(vendor_ids); i++)
|
||||
{
|
||||
if (vendor_ids[i].send ||
|
||||
|
||||
Reference in New Issue
Block a user